Api doc


SDK's


Api Modules

dashboard.onnow

Returns a list of currently clocked employees.



Supported Methods:

GET
Params
  • token (Required): valid token
  • lateforwork: varchar


Documentation

GET
Returns a list of currently clocked employees and employees who are late for work.
Level 5 is required

--

Parameters:

  1. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"dashboard.onnow",
  3. "method":"GET",
  4. "request":{
  5. }
  6. }

Example Response:

  1. {
  2. "status": 1,
  3. "data": [
  4. {
  5. "is_on_break": null,
  6. "clockin_time": {
  7. "day_of_year": "251",
  8. "formatted": "Sep 9, 2013",
  9. "week_adjusted": 37,
  10. "timestamp": 1378737000,
  11. "weekday": "Mon",
  12. "mname": "Sep",
  13. "time": "16:30",
  14. "sp_wday": 2,
  15. "year": 2013,
  16. "wday": 1,
  17. "seconds": 0,
  18. "id": 1594,
  19. "dayid": 2,
  20. "week": 37,
  21. "minutes": 30,
  22. "day": 9,
  23. "timeid": 67,
  24. "date_timestamp": "2013-09-09 16:30:00",
  25. "hours": 16,
  26. "date": "Sep 9, 2013",
  27. "month": 9,
  28. "timeid_exact": 67
  29. },
  30. "employee_name": "Milhouse",
  31. "break": [],
  32. "schedule_name": "Kids",
  33. "employee_avatar": "0",
  34. "employee_id": "111111",
  35. "shift_id": "132583",
  36. "employee_avatar_url": "{
  37. \"large\":\"avatars\\/258260-5203a433cdb6e.jpg\",
  38. \"small\":\"avatars\\/sm_258260-5203a433cdb6e.jpg\",
  39. \"bigger\":\"avatars\\/la_258260-5203a433cdb6e.jpg\",
  40. \"full\":\"avatars\\/full_258260-5203a433cdb6e.jpg\",
  41. \"profile\":\"avatars\\/profile_258260-5203a433cdb6e.jpg\",
  42. \"forum\":\"avatars\\/forum_258260-5203a433cdb6e.jpg\"}",
  43. "schedule_id": "153310",
  44. "timeclock_id": "3952005",
  45. "shift_end": {
  46. "day_of_year": "251",
  47. "formatted": "Sep 9, 2013",
  48. "week_adjusted": 37,
  49. "timestamp": 1378740600,
  50. "weekday": "Mon",
  51. "mname": "Sep",
  52. "time": "17:30",
  53. "sp_wday": 2,
  54. "year": 2013,
  55. "wday": 1,
  56. "seconds": 0,
  57. "id": 1594,
  58. "dayid": 2,
  59. "week": 37,
  60. "minutes": 30,
  61. "day": 9,
  62. "timeid": 71,
  63. "date_timestamp": "2013-09-09 17:30:00",
  64. "hours": 17,
  65. "date": "Sep 9, 2013",
  66. "month": 9,
  67. "timeid_exact": 71
  68. },
  69. "shift_start": {
  70. "day_of_year": "251",
  71. "formatted": "Sep 9, 2013",
  72. "week_adjusted": 37,
  73. "timestamp": 1378737000,
  74. "weekday": "Mon",
  75. "mname": "Sep",
  76. "time": "16:30",
  77. "sp_wday": 2,
  78. "year": 2013,
  79. "wday": 1,
  80. "seconds": 0,
  81. "id": 1594,
  82. "dayid": 2,
  83. "week": 37,
  84. "minutes": 30,
  85. "day": 9,
  86. "timeid": 67,
  87. "date_timestamp": "2013-09-09 16:30:00",
  88. "hours": 16,
  89. "date": "Sep 9, 2013",
  90. "month": 9,
  91. "timeid_exact": 67
  92. },
  93. "employee_eid": ""
  94. },
  95. {
  96. "is_on_break": null,
  97. "clockin_time": {
  98. "day_of_year": "251",
  99. "formatted": "Sep 9, 2013",
  100. "week_adjusted": 37,
  101. "timestamp": 1378738800,
  102. "weekday": "Mon",
  103. "mname": "Sep",
  104. "time": "17:00",
  105. "sp_wday": 2,
  106. "year": 2013,
  107. "wday": 1,
  108. "seconds": 0,
  109. "id": 1594,
  110. "dayid": 2,
  111. "week": 37,
  112. "minutes": 0,
  113. "day": 9,
  114. "timeid": 69,
  115. "date_timestamp": "2013-09-09 17:00:00",
  116. "hours": 17,
  117. "date": "Sep 9, 2013",
  118. "month": 9,
  119. "timeid_exact": 69
  120. },
  121. "employee_name": "Lisa",
  122. "break": [],
  123. "schedule_name": "Kids",
  124. "employee_avatar": "0",
  125. "employee_id": "258260",
  126. "shift_id": null,
  127. "employee_avatar_url": "{
  128. \"large\":\"avatars\\/258260-5203a433cdb6e.jpg\",
  129. \"small\":\"avatars\\/sm_258260-5203a433cdb6e.jpg\",
  130. \"bigger\":\"avatars\\/la_258260-5203a433cdb6e.jpg\",
  131. \"full\":\"avatars\\/full_258260-5203a433cdb6e.jpg\",
  132. \"profile\":\"avatars\\/profile_258260-5203a433cdb6e.jpg\",
  133. \"forum\":\"avatars\\/forum_258260-5203a433cdb6e.jpg\"}",
  134. "schedule_id": "153311",
  135. "timeclock_id": "3952006",
  136. "shift_end": null,
  137. "shift_start": null,
  138. "employee_eid": "l123"
  139. }
  140. ],
  141. "token": "xxxxxxx"
  142. }

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