Skip to main content
Skip table of contents

Fill Order

Prep/Fill items for an 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/orders/{recordID}/session/{sessionID}/fill

 

Sample request payload

CODE
{
  "scandetails": [
    {
      "referencenumber": 0,
      "warehouseschedulelinerecordid": "string",
      "assetorproductid": "string",
      "qty": 0,
      "containerid": "string",
      "filloptions": {
        "autofill": true,
        "autoreturn": true,
        "onservicedue": "MarkQCNeedsService",
        "movetocurrentsite": true,
        "unfillonotherorder": true,
        "returnlost": true,
        "returnmissing": true,
        "fillprereturnservicedueassets": true
      }
    }
  ]
} 

Sample Response Payload

If Scan is Successful.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

 If Scan is not Successful.
R2_00005: Item does not belong to Current Site.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

 If Scan is not Successful.
R2_00018: Not a valid ID.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "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.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
Invalid request parameters.

Your 'Request' is responded with the following payload
CODE
{
 "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.

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
Internal Error

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
RecordID is incorrect. Please Check.

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
SessionID is incorrect. Please Check.

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
R2_01258: Warehouse Operation failed. Please try again.

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
R2_01259: Order is locked. Please close and reopen to proceed.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01352: Item returned successfully with QC.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01353: Item returned successfully with Need Service.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01969: This task belongs to the unsupported schedule type .

Your 'Request' is responded with the following payload
CODE
{
 "faultCode": 0,
 "faultString": "string",
 "faultDetails":
                {
                 "additionalProp1": {},
                 "additionalProp2": {},
                 "additionalProp3": {}
                }
}

If Scan is not Successful.
R2_01971: Item [Asset_ID] is not on Order.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01983: Asset is marked as QC/Needs Service.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01984: Asset [Asset_ID] is out on Order# [Order_ID_DESC] and will be returned on [Order_Line_End_Date].

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01985: Asset is due for Service.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01986: Asset is Out on Order# [Order_ID]. Cannot return and fill mandatory children partially. Return it on Order fully and try filling.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01987: Asset [Asset_ID] is Off-Rent on Order# [Order_ID_DESC] [OffRent_Location] and will be returned on [Order_Line_End_Date].

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01988: Asset [Asset_ID] is Out on Order# [Order_ID] and is due for Service.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_01989: Asset [Asset_ID] is Off-Rent on Order# [Order_ID] [OffRent_Location] and is due for Service.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_02020: No valid Item(s) found to fill.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}

If Scan is not Successful.
R2_02021: Not a valid ‘warehouseschedulelinerecordid’.

Your 'Request' is responded with the following payload
CODE
{
 "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"
                           }
                          ],
 "scanresults":
               [
                {
                 "referencenumber": 0,
                 "faultCode": 0,
                 "faultString": "string",
                 "hint": "string"
                }
               ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.