Functions
The Work Order (WO) Schedule Delete API is used to remove existing schedule information from a WO.
URL
{Root URL}/API/WOSchedule/Delete/{API Key} |
Parameter
Parameters | Description | Required | Comment | |
1 | duedtuniq | Due date unique Identifier | Y | Used to select due date information to delete. |
Example Strings
Edit Schedule
URL
?DueDtUniq=DUEDTUNIQ |
JSON
{ "DueDtUniq":"DUEDTUNIQ" } |
A successful delete request should result in:
{ "$id": "1", "Code": "200", "Message": "WorkOrderSchedule deleted successfully.", "SessionId": "null", "IsValidUser": "true", "ResponseObject": "null" } |
Common Errors
API Key Error
If the entered API Key is invalid, the system will return an "Invalid API key" error message:
{ "$id": "1", "Code": "403", "Message": "Invalid API Key.", "SessionId": "null", "IsValidUser": "false", "ResponseObject": "null" } |
URL Error
If there is an error with the entered URL, the system will return an error describing it:
{ "$id": "1", "Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/WOScheduleDelete/123456789?duedtuniq=E8T6A1KF06'.", "MessageDetail": "No type was found that matches the controller named 'WOScheduleDelete'." } |
Parameter Error
If there is an error with one of the entered parameters, the system will return an HTTP error:
{ "$id": "1", "Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/WOScheduleDelete/123456789?duedtuniq=E8T6A1KF0'.", "MessageDetail": "No type was found that matches the controller named 'WOScheduleDelete'." } |