Api doc


SDK's


Api Modules

schedule.schedules

Returns a list of all schedules.



Supported Methods:

GET
Params
  • token (Required): valid token
  • perms: enum (1)


Documentation

GET
Retrieves a list of all schedules.
Level 5 is required (all users can fetch this module)

--

Parameters:

  1. "perms": required //Perms (enum[1])
  2. /* 1: Show perms */
  3. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"schedule.schedules",
  3. "method":"GET",
  4. "request":{
  5. "perms":"1"
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":[
  4. {
  5. "id":"367",
  6. "name":"Management",
  7. "start_time":{
  8. "id":"29",
  9. "time":"7 am"
  10. },
  11. "end_time":{
  12. "id":"89",
  13. "time":"10 pm"
  14. },
  15. "color":"15",
  16. "ical":"http:\/\/www.humanity.com\/ical\/-0409.ics",
  17. "location":{
  18. "id":"37",
  19. "name":"Business Team."
  20. },
  21. "perms":"2"
  22. },
  23. {
  24. "id":"34062",
  25. "name":"wakatta",
  26. "start_time":{
  27. "id":"1",
  28. "time":"12 am"
  29. },
  30. "end_time":{
  31. "id":"97",
  32. "time":"midnight"
  33. },
  34. "color":"1",
  35. "ical":"http:\/\/www.humanity.com\/ical\/-a2621.ics",
  36. "location":{
  37. "id":"436",
  38. "name":"serbia"
  39. },
  40. "perms":"2"
  41. },
  42. {
  43. "id":"861",
  44. "name":"Support",
  45. "start_time":{
  46. "id":"37",
  47. "time":"9 am"
  48. },
  49. "end_time":{
  50. "id":"97",
  51. "time":"midnight"
  52. },
  53. "color":"11",
  54. "ical":"http:\/\/www.humanity.com\/ical\/-c3f.ics",
  55. "location":{
  56. "id":"3",
  57. "name":"Support Team"
  58. },
  59. "perms":"2"
  60. }
  61. ],
  62. "token":"xxxxxxx"
  63. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my ShiftPlanning Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a ShiftPlanning Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close