Difference between revisions of "Delete Entire Catalogue"

From MyMobileWorkers API
Jump to: navigation, search
(Created page with "== Summary == {| border="1" class="wikitable" ! Delete Jobs ! colspan="2" | |- ! URL | colspan="2" | http://:base_url/:api_path/:version/categories/all |- ! Type | colspan=...")
 
Line 1: Line 1:
 
== Summary ==
 
== 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.
 +
 
{| border="1" class="wikitable"
 
{| border="1" class="wikitable"
  

Revision as of 14:46, 23 September 2014

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"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox