Difference between revisions of "Delete Item By External Id"
From MyMobileWorkers API
(Created page with "== Summary == '''External ID is not enforced to be unique in the MMW system, as a result its possible for you to duplicate the external id in our system. If you call delete o...") |
Revision as of 12:01, 19 September 2014
Summary
External ID is not enforced to be unique in the MMW system, as a result its possible for you to duplicate the external id in our system. If you call delete on an external ID it will only delete the first one it finds not all results
| Delete Jobs | ||
|---|---|---|
| URL | http://:base_url/:api_path/:version/items/item/external | |
| Type | DELETE | |
| Params: | api_key | required |
| external_id | required | |
| Response | JSON | |
Uses a HTTP Delete
{"failed":[],"successful":[{"item_name":"Test"}]}
Example curl request
curl -X DELETE "http://live.mymobileworkers.com:8080/api/1/items/item/external?api_key=testkey&item_name=test"