Returns a list of all schedules.
SUPPORTED METHODS:
GET
Parameters | Type | Description |
---|---|---|
token (required) | Valid token | |
perms (accepted) | enum [1] | 1: Show perms |
updated_at | DateTime | DateTime in ISO8601 format |
DOCUMENTATION
GET
Retrieves a list of all schedules.
Level 5 is required (all users can fetch this module)
--
Parameters:
updated_at - retrieves only positions that were updated after the date and time provided with this parameter.
Example Request:
{
"module":"schedule.schedules",
"method":"GET",
"request":{
"perms":"1"
}
}
Example Response:
{
"status":1,
"data":[
{
"id":"367",
"name":"Management",
"start_time":{
"id":"29",
"time":"7 am"
},
"end_time":{
"id":"89",
"time":"10 pm"
},
"color":"15",
"ical":"http:\/\/www.humanity.com\/ical\/-0409.ics",
"location":{
"id":"37",
"name":"Business Team."
},
"perms":"2"
},
{
"id":"34062",
"name":"wakatta",
"start_time":{
"id":"1",
"time":"12 am"
},
"end_time":{
"id":"97",
"time":"midnight"
},
"color":"1",
"ical":"http:\/\/www.humanity.com\/ical\/-a2621.ics",
"location":{
"id":"436",
"name":"serbia"
},
"perms":"2"
},
{
"id":"861",
"name":"Support",
"start_time":{
"id":"37",
"time":"9 am"
},
"end_time":{
"id":"97",
"time":"midnight"
},
"color":"11",
"ical":"http:\/\/www.humanity.com\/ical\/-c3f.ics",
"location":{
"id":"3",
"name":"Support Team"
},
"perms":"2"
}
],
"token":"xxxxxxx"
}