Mark an item line cancelled
You need to open a warehouse session by invoking {/session/open} which will assign a unique sessionID.
Thereby, use the {/schedules} endpoint to obtain the recordID of the schedule/task.
Lastly, use the {/transfers/schedules/{recordID}/session/{sessionID}/} endpoint to retrieve the warehouseschedulelinerecordID.
Once, you have received the details, and there is no more Warehouse operation pending, you must close the session by invoking (/session/close).
- You can start the session only after you have fetched the schedule list. 
- On closing of warehouse session, system will sync all status changes to the Order. 
POST
End Point: /warehouse/transfers/schedules/{recordID}/session/{sessionID}/markascancelled
To mark an item line cancelled
Sample request payload
{
  "scandetails":
                [
                 {
                  "referencenumber": 0,
                  "warehouseschedulelinerecordid": "string"
                 }
                ]
}
Sample response payload
{
 "warehousetransferschedulelines":
                                  [
                                   {
                                    "recordid": "string",
                                    "linenumber": 0,
                                    "levelnumber": 0,
                                    "isformedheader": true,
                                    "status": "Not Available",
                                    "productid": "string",
                                    "assetid": "string",
                                    "description": "string",
                                    "isserial": true,
                                    "iskitheader": true,
                                    "shelflocation": "string",
                                    "binnumber": "string",
                                    "orderedquantity": 0,
                                    "filledquantity": 0,
                                    "shippedquantity": 0,
                                    "receivedquantity": 0,
                                    "containerid": "string",
                                    "transferlinerecordid": "string"
                                   }
                                  ],
"scanresults":
              [
               {
                "referencenumber": 0,
                "faultCode": 0,
                "faultString": "string",
                "hint": "string"
               }
              ]
}
