Function: Retrieves all the overtime Job Tasks
Web service call: https://proworkflow2.net/pwfaccountname/api/v2/tasks.cfm?customerkey=84DC6CF8-BF78-D79D-B25B-0C0D20229F17&api_call=overtimetasks&UserID=xxx
Method: GET
URL Parameters: UserID is not mandatory. If no id is provided then all tasks will be returned
Return Data: XML data packet of AllOverTimeTasks is constructed by the web service and sent to the user.
Status messages: OK or Error.

 

Example of return data:
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <allovertimetasks>
  3. <status>OK</status>
  4. <taskcount>1</taskcount>
  5. <tasks>
  6. <task>
  7. <taskid>7911</taskid>
  8. <taskcatid>1</taskcatid>
  9. <jobid>37</jobid> (Empty for General tasks)
  10. <jobtitle>Sample Job</jobtitle> (Empty for General tasks)
  11. <jobnumber>BC001</jobnumber> (Empty for General tasks)
  12. <jobclient>1</jobclient> (Empty for General tasks)
  13. <tasktitle>Sample Task</tasktitle>
  14. <taskstatus>A</taskstatus>
  15. <taskpriority>3</taskpriority>
  16. <taskorder>1.1.1</taskorder>
  17. <tasktype>normal</tasktype>
  18. <taskdatestart>11-Feb-2009</taskdatestart>
  19. <taskdatedue>15-Feb-2009</taskdatedue>
  20. <taskcreatedby>5</taskcreatedby>
  21. <taskassignedto>x5x</taskassignedto>
  22. <taskcreatedby_name>Bob</taskcreatedby_name>
  23. <taskassignedto_names>Bob</taskassignedto_names>
  24. <tasktimeallocated>60</tasktimeallocated>
  25. <tasktotaltimespent>60</tasktotaltimespent>
  26. <taskactive>yes</taskactive>
  27. <taskdependent>no</taskdependent>
  28. </task>
  29. </tasks>
  30. </allovertimetasks>
VN:F [1.7.5_995]
Was this article useful?