Function: Retrieves all the overdue jobs/projects
Web service call: https://proworkflow2.net/pwfaccountname/api/v2/jobs.cfm?customerkey=84DC6CF8-BF78-D79D-B25B-0C0D20229F17&api_call=overduejobs&UserID=xxx
Method: GET
URL Parameters: UserID is not mandatory. If no id is provided then all jobs will be returned
Return Data: An XML data packet of AllOverDueJobs 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. <alloverduejobs>
  3. <status>OK</status>
  4. <jobcount>1</jobcount>
  5. <jobs>
  6. <job>
  7. <jobid>1</jobid>
  8. <jobtitle>Email Campaign</jobtitle>
  9. <jobnumber>BC0001</jobnumber>
  10. <jobclient>Big Company</jobclient>
  11. <jobclientid>5</jobclientid>
  12. <jobmanager>7</jobmanager>
  13. <jobmanagername>Aubrey Apple</jobmanagername>
  14. <jobassignedtostaff>x326×329x151×359x143×5x</jobassignedtostaff>
  15. <jobassignedtostaffnames>Alan Barlow,Alan Smith,Amanda Durand,Angus Adams,Brad Haynes,Julian Stone</jobassignedtostaffnames>
  16. <jobassignedtoclientcontacts>277</jobassignedtoclientcontacts>
  17. <jobassignedtoclientcontactnames>Sufiana Syed</jobassignedtoclientcontactnames>
  18. <jobassignedtocontractorcontacts>x429×358x</jobassignedtocontractorcontacts>
  19. <jobassignedtocontractorcontactnames>John Seagull,Lazy Suzy</jobassignedtocontractorcontactnames>
  20. <jobdatestart>11-Feb-2009</jobdatestart>
  21. <jobdatedue>21-Feb-2009</jobdatedue>
  22. <jobdatecompleted>21-Feb-2009</jobdatecompleted>
  23. <jobdaysuntildue>2</jobdaysuntildue>
  24. <jobcategory>Current</jobcategory>
  25. <jobcategoryid>2</jobcategoryid>
  26. <jobpriority>3 – Medium</jobpriority>
  27. <jobstatus>14</jobstatus>
  28. <jobtotaltimespent>210</jobtotaltimespent>
  29. <jobtotaltimeallocated>185</jobtotaltimeallocated>
  30. <jobquotedamount>500</jobquotedamount>
  31. <jobinvoicedamount>615</jobinvoicedamount>
  32. <jobinvoiced>yes</jobinvoiced>
  33. <jobpaid>yes</jobpaid>
  34. <jobaccountedfor>no</jobaccountedfor>
  35. <jobdependent>no</jobdependent>
  36. </job>
  37. </jobs>
  38. </ alloverduejobs>
VN:F [1.7.5_995]
Was this article useful?