Support for force Order Fill flag
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 {/orders/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.
Features Supported
Fill in serial and non-serial items, kits, and parts.
Assign a container during fill.
Add and Prep is supported by the autofill flag.
Return and Fill is supported by the autoreturn flag.
Due for service handled as per the maintenance schedule, supported by the onservicedue attribute, supported options are:
MarkQCNeedsService
SkipAndFill
SuspendAndFill
When an item is IN and belongs to another site, moving the asset to the current site and filling is supported by the movetocurrentsite flag.
Moving the item to the current site is supported only if:
Force Fill is TRUE and
the Force Fill configuration is BLANK (i.e. there are no entries in the Force Fill configuration).
The date filter is automatically applied based on the Warehouse Schedule Generation configuration.
POST
End Point: /warehouse/orders/schedules/{recordID}/session/{sessionID}/fill
Supporting Force Order Fill Configurations in the Order Fill API.
Sample response payload
{
"scandetails":
[
{
"referencenumber": 0,
"warehouseschedulelinerecordid": "string",
"assetorproductid": "string",
"qty": 0,
"containerid": "string",
"filloptions":
{
"autofill": true,
"autoreturn": true,
"onservicedue": "MarkQCNeedsService",
"movetocurrentsite": true,
"returnonotherorder": true,
"unfillonotherorder": true,
"returnlost": true,
"returnmissing": true,
"fillprereturnservicedueassets": true
}
}
]
}