Difference between revisions of "Update PO Number & Invoice Number"

From MyMobileWorkers API
Jump to: navigation, search
(→‎Summary)
(→‎Example curl request)
Line 33: Line 33:
  
 
curl -X POST "<nowiki>https://api.mymobileworkers.com:8181/api/1/jobs/job/status/update?api_key=APIKEY&job_number=JOB_NUM&po_no=PO_NUM&invoice_number=INVOICE_NUM</nowiki>"
 
curl -X POST "<nowiki>https://api.mymobileworkers.com:8181/api/1/jobs/job/status/update?api_key=APIKEY&job_number=JOB_NUM&po_no=PO_NUM&invoice_number=INVOICE_NUM</nowiki>"
−
 
−
curl -X POST "<nowiki>https://api.mymobileworkers.com:8181/api/1/jobs/job/status/invoicing?api_key=x4IOX6J3RcESDsN0kBAd&job_number=XKFVN321&po_no=4321&invoice_number=8765"</nowiki>"
 

Revision as of 14:51, 3 January 2017

Provided you have the relevant job number, you can update both the PO Number & Invoice Number for said job.
This, in turn, creates an entry in our jobs_invoicing table, which will contain the job_id, po_number & invoice_number.

Summary

Update PO Number & Invoice Number
URL https://:base_url/:api_path/:version/jobs//job/status/update?api_key=YOUR_KEY&&job_number=JOB_NUMBER&po_no=PO_NUMBER&invoice_number=INVOICE_NUMBER
Type POST
Params: api_key required
job_number required
po_no required
invoice_number required
Response JSON

Example curl request

curl -X POST "https://api.mymobileworkers.com:8181/api/1/jobs/job/status/update?api_key=APIKEY&job_number=JOB_NUM&po_no=PO_NUM&invoice_number=INVOICE_NUM"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox