Difference between revisions of "Delete Job"
From MyMobileWorkers API
(→Example curl request) |
|||
| Line 29: | Line 29: | ||
== Example curl request == | == Example curl request == | ||
| − | curl -X DELETE "https:// | + | |
| + | <source lang="php"> | ||
| + | curl -X DELETE "https://api.mymobileworkers.com:8181/api/1/jobs/job?api_key=rtskey&job_number=CG44710_45817" | ||
| + | </source> | ||
Revision as of 12:52, 8 November 2016
Summary
| Delete Jobs | ||
|---|---|---|
| URL | https://:base_url/:api_path/:version/jobs/job | |
| Type | DELETE | |
| Params: | api_key | required |
| job_number | required | |
| Response | JSON | |
Uses a HTTP Delete
{"failed":[],"successful":[{"job_number":"CG44710_45817"}]}
Example curl request
curl -X DELETE "https://api.mymobileworkers.com:8181/api/1/jobs/job?api_key=rtskey&job_number=CG44710_45817"