Difference between revisions of "Delete Job Attachment"
From MyMobileWorkers API
(Created page with "== Summary == {| border="1" class="wikitable" ! Delete Job Attachments ! colspan="2" | |- ! URL | colspan="2" | http://:base_url/:api_path/:version/job/attachments/attachme...") |
(→Example curl request) |
||
| Line 32: | Line 32: | ||
== Example curl request == | == Example curl request == | ||
| − | curl -X DELETE "http:// | + | curl -X DELETE "http://api.mymobileworkers.com:8080/api/1/job/attachments/attachment?api_key=demo&job_number=CG44710_45817&file=fileToDelete.pdf" |
Revision as of 12:51, 14 November 2016
Summary
| Delete Job Attachments | ||
|---|---|---|
| URL | http://:base_url/:api_path/:version/job/attachments/attachment | |
| Type | DELETE | |
| Params: | api_key | required |
| job_number | required | |
| file | required | |
| Response | JSON | |
Uses a HTTP Delete
{"failed":[],"successful":[{"job_number":"CG44710_45817"}]}
Example curl request
curl -X DELETE "http://api.mymobileworkers.com:8080/api/1/job/attachments/attachment?api_key=demo&job_number=CG44710_45817&file=fileToDelete.pdf"