Delete Entire Catalogue
From MyMobileWorkers API
Summary
It is not recommended to use this call in production/atall. Each time the catalogue is deleted the data remains on the server to maintain the links to any existing items in jobs/assets etc. Continual deleting / recreating of the catalogue will lead to an excessive number of deleted records stored on the server which may have a negative effect on downloading the catalogue to the device.
| Delete Jobs | ||
|---|---|---|
| URL | http://:base_url/:api_path/:version/categories/all | |
| Type | DELETE | |
| Params: | api_key | required |
| job_number | required | |
| Response | JSON | |
Uses a HTTP Delete
{"success_message":"catalogue deleted"}
Example curl request
curl -X DELETE "http://live.mymobileworkers.com:8080/api/1/categories/all?api_key=testkey"