Mark as Complete or Restore a Task
You can mark the warehouse task as done or restore the completed task.
POST
End Point: /warehouse/schedules/{recordID}/markas/{action}
Sample request payload
{
"recordid": "string",
"ordertype": "Contract",
"orderid": "string",
"siteid": "string",
"sitename": "string",
"description": "string",
"done": true,
"scheduledateandtime": "MM/dd/yyyy HH:mm",
"assignedtoid": "string",
"assignedtoname": "string",
"loadindateandtime": "MM/dd/yyyy HH:mm",
"comments":
[
{
"recordid": "string",
"comment": "string",
"alwaysontop": true,
"createdbyid": "string",
"createdbyname": "string",
"createdbyfirstname": "string",
"createdbymiddlename": "string",
"createdbylastname": "string",
"createddate": "MM/dd/yyyy HH:mm"
}
],
"warehouseschedulelines":
[
{
"recordid": "string",
"orderid": "string",
"scheduledatetime": "MM/dd/yyyy HH:mm",
"linenumber": 0,
"levelnumber": 0,
"isformedheader": true,
"status": "Hold",
"action": "Rent",
"productid": "string",
"assetid": "string",
"description": "string",
"isserial": true,
"iskitheader": true,
"shelflocation": "string",
"binnumber": "string",
"orderedquantity": 0,
"filledquantity": 0,
"shippedquantity": 0,
"returnedquantity": 0,
"containerid": "string",
"contractlinerecordid": "string",
"notes": "string"
}
]
}