Delete Entire Catalogue

From MyMobileWorkers API
Revision as of 12:45, 14 November 2016 by Ian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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://api.mymobileworkers.com:8080/api/1/categories/all?api_key=testkey"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox