Api doc


SDK's


Api Modules

reports.wu_daily_report



Supported Methods:

GET
Params
  • token (Required): valid token
  • start_date: varchar
  • end_date: varchar
  • employee: varchar
  • schedule: varchar
  • task: varchar
  • location: varchar
  • task_state: varchar
  • workunit: varchar
  • remote_site: varchar


Documentation

GET
Returns a list of worked units
Level 5 is required

--

Parameters:

  1. "start_date": accepted //Start date (varchar)
  2. "end_date": accepted //End date (varchar)
  3. "employee": accepted //Employee id (varchar)
  4. "schedule": accepted //Position id (varchar)
  5. "task": depricated
  6. "location": accepted //Location id (varchar)
  7. "task_state": depricated
  8. "workunit": accepted //Work Unit id - retrieve report only for this work unit (varchar)
  9. "remote_site": accepted //Remote site location id (varchar)
  10. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"reports.wu_daily_report",
  3. "method":"GET",
  4. "request":{
  5. "start_date":"Oct 8, 2014",
  6. "end_date":"Oct 9, 2014"
  7. }
  8. }

Example Response:

  1. {
  2. "status": 1,
  3. "token": "xxxxxxx",
  4. "data": {
  5. "wu_names": {"605692": {
  6. "108": "Cards",
  7. "107": "Staples"
  8. }},
  9. "data": {"605692": {
  10. "86941866": {"878708": {
  11. "start": "8:00am",
  12. "cost": "37.5",
  13. "worked_units": {
  14. "108": "10",
  15. "107": "55"
  16. },
  17. "end": "4:00pm",
  18. "employee_id": "878708",
  19. "position": "Student",
  20. "employee": "John Doe",
  21. "location": "WorkShop",
  22. "employee_eid": null
  23. }},
  24. "1412838000878708": {"878708": {
  25. "start": "N/A",
  26. "cost": "2.5",
  27. "worked_units": {
  28. "108": 0,
  29. "107": "5"
  30. },
  31. "end": "N/A",
  32. "employee_id": "878708",
  33. "position": "Student",
  34. "employee": "John Doe",
  35. "location": "WorkShop",
  36. "employee_eid": null
  37. }},
  38. "86941886": {"878708": {
  39. "start": "7:00pm",
  40. "cost": 10,
  41. "worked_units": {
  42. "108": "10",
  43. "107": 0
  44. },
  45. "end": "10:00pm",
  46. "employee_id": "878708",
  47. "position": "Student",
  48. "employee": "John Doe",
  49. "location": "WorkShop",
  50. "employee_eid": null
  51. }}
  52. }}
  53. }
  54. }

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