Fill Transfer
Prep/Fill items for a Transfer Order either in a batch or individually for a particular schedule/task.
For this, first you need to open a warehouse session. This will assign a unique session id.
The response will return affected items with their current warehouse status upon success processing. 
Once you are done with your Warehouse Operation you must close the session.
- 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/{recordID}/session/{sessionID}/ship
Sample request payload
{
 "scandetails":
               [
                {
                 "referencenumber": 0,
                 "warehouseschedulelinerecordid": "string",
                 "assetorproductid": "string",
                 "qty": 0,
                 "containerid": "string"
                 "transferfilloptions":
                                       {
                                        "autofill": true
                                       }
                }
              ]
} 
Sample Response Payload
If Scan is Successful.
{
 "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"
                }
               ]
} If Scan is not Successful. 
R2_00005: Item does not belong to Current Site.
{
 "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"
                }
               ]
} If Scan is not Successful. 
R2_00018: Not a valid ID.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_00046: Item is locked to Kit. 
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_00306: Invalid Container ID.
{
 "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"
                }
               ]
}If Scan is not Successful. 
If any error found in request while processing it, error message will be contextual.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_00853: Invalid Quantity.
{
 "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"
                }
               ]
}If Scan is not Successful. 
Invalid request parameters.
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
Unable to process the request because some of the invalid details in request.
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
Internal Error
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
RecordID is incorrect. Please Check.
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
SessionID is incorrect. Please Check.
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
R2_01259: Order is locked. Please close and reopen to proceed.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_01319: Order is in use for Filling/ Shipping/ Receiving in Warehouse.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_01352: Item returned successfully with QC.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_01353: Item returned successfully with Need Service.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_01969: This task belongs to the unsupported schedule type .
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}If Scan is not Successful. 
R2_01971: Item [Asset_ID] is not on Order.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_02020: No valid Item(s) found to fill.
{
 "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"
                }
               ]
}If Scan is not Successful. 
R2_02021: Not a valid ‘warehouseschedulelinerecordid’.
{
 "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"
                }
               ]
}