Tutorial: Payload Examples

Payload Examples

This section explains what the payload structure looks like. If you want to persist your data, check below for the payload being sent by the app

#Deleting payload The DELETE http request is use for creating payload Example:

 {"myeventcalendarId": "id of the event"}

Updating Payload

The PUT http request is use for creating payload Example

{
    "start":"Fri Aug 16 2019 08:00:15 GMT+0100 (British Summer Time)",
    "end":"Fri Aug 16 2019 09:00:15 GMT+0100 (British Summer Time)",
    "publisher":"MyEventCalendar",
    "myeventcalendarId":"2defefsysjdjajka",
    "location":"LAX LVX",
    "backgroundColor "#hex"
   

}
 //or
 {
    "start":"Fri Aug 16 2019 08:00:15 GMT+0100 (British Summer Time)",
    "end":"Fri Aug 16 2019 09:00:15 GMT+0100 (British Summer Time)",
    "publisher":"MyEventCalendar",
    "myeventcalendarId":"2defefsysjdjajka",
    "location":"LAX LVX",
    "backgroundColor "#hex",
    "endRecur":"Fri Aug 16 2030 09:00:15 GMT+0100 (British Summer Time)",
    "daysOfWeek":[0,1,4]
   

}

Creating payload

The POST http request is use for creating payload

{
    "start":"Fri Aug 16 2019 08:00:15 GMT+0100 (British Summer Time)",
    "end":"Fri Aug 16 2019 09:00:15 GMT+0100 (British Summer Time)",
    "publisher":"MyEventCalendar",
    "myeventcalendarId":"2defefsysjdjajka",
    "location":"LAX LVX",
    "backgroundColor "#hex"
}
 //or
 {
    "start":"Fri Aug 16 2019 08:00:15 GMT+0100 (British Summer Time)",
    "end":"Fri Aug 16 2019 09:00:15 GMT+0100 (British Summer Time)",
    "publisher":"MyEventCalendar",
    "myeventcalendarId":"2defefsysjdjajka",
    "location":"LAX LVX",
    "backgroundColor "#hex",
    "endRecur":"Fri Aug 16 2030 09:00:15 GMT+0100 (British Summer Time)",
    "daysOfWeek":[0]
   

}