Re-Open WO V1
The below API is used to Re-Open the Work Order.
Request: POST
Signature: /api/mobile/ReOpenWO?Token={Login_Token}
Body:
{
"WONum":WORK_ORDER_ID,
"ApplyToAll":
BOOLEAN_VALUE
}
Sample: /api/mobile/ReOpenWO?Token=VomYEMiECFFyAQ3==
Body:
{
"WONum":
1235,
"ApplyToAll":
false
}
Response:
{
"Code": 1,
"Info": "Workorder(s) re-opened successfully.",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": null
}
Things to know about this API:
- These fields are mandatory while sending request body:
- Token - You can use Login API to get token displayed under Info
- WONum
- ApplyToAll determine whether the value is applicable to single work order or complete shipment. It's default value will be true.
- RowsAffected is 1 which means we have re-opened 1 work order.