Calendar_Events - Create a new Calendar Event
POST yourdomain.com/api/calendar/
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
title | String |
Required event title. |
description | String |
Optional event description. |
start | Date |
Required event start date. |
reminder_before_type | String |
Required value of reminder before type. |
reminder_before | Number |
Required value of reminder before. |
color | String |
Optional event color. |
userid | Number |
Required user id. |
isstartnotified | Number |
Required isstartnotified status. |
public | Number |
Required public status. |
HTTP/1.1 200 OK
{
"status": true,
"message": "Data Added Successfully"
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Data Creation Failed"
}