Delete Specific Processed Route/Schedule API
Require Authentication
This API is used to delete specific processed route/schedule and its execution data for the company based on combination of deviceID and token.
URL
api/routes/deleteprocessed
Required parameter (POST)
- deviceID
- token
- maintenanceScheduleProcessID «contains maintenanceScheduleProcessID that will be looked for. Value must exist in Get Processed Route/Schedule List»
Optional parameter
Example JSON Payload
{
"deviceID": "ABCD-EFGH-IJKL-MNOP",
"token": "bb602ab13b8090268cd6e3bb9dfa39e2",
"maintenanceScheduleProcessID": 2
}
Possible return HTTP status code
- 200
- 400
- 401
- 404
- 405
Return message
{
"status": "success",
"message": [
"Route processed and its related data have been deleted."
]
}