The below API is used to Cancel the Work Order.
Request: POST
Signature: /api/mobile/CancelWO?Token={Login_Token}
Body:
{"WONum":WORK_ORDER_ID,
"ApplyToAll":BOOLEAN_VALUE
}Sample: /api/mobile/CancelWO?Token=VomYEMiECFFyAQ3==
Body:
{"WONum":1235,
"ApplyToAll":false
}Response:
{ "Code": 1, "Info": "Workorder(s) canceled successfully.", "RowsAffected": 1, "Scalar": null, "Identity": 0, "RetInfo": null}Things to know about this API: