By calling the URL endpoint with the DELETE method, this endpoint returns a JSON object for deleted Work Order ID defined in the URL parameter.
Example:
Delete Work Order whose ID is F91UDHFPI1OM0D85 (call URL https://api.erpag.com/workorder/delete?id=F91UDHFPI1OM0D85 with DELETE method)
Result:
{
"id": "F91UDHFPI1OM0D85"
}Explanation:
id – ID of deleted Work Order
Note: Access to this API endpoint is allowed only for selected API User account using the API key and API password in the request header with the key name “Authorization” and key value “Basic base64encoded(api_key:api_password)“, or URL parameters ApiKey and ApiSecret for example https://api.erpag.com/item/delete?ApiKey=key_056a9spfg1qubg34e409ee233d&ApiSecret=sec_IKJ4Sc2G8jHfr3sHbxQwEfev-Az-1YaF