| Name
(* = required)
|
Data Type | Description |
| threshold
*
|
Inventory.Models.InventoryExpiryThresholdSource |
expiration threshold can be configured by customer or at the item level |
| - ByItem | |
| - ByCust | |
| includeHeld
|
bool |
false: ignore receive items already held; true: include even if already held |
| custID
|
int |
optional customerid to filter the list of expiring items by |
|
Type |
Description |
| ReceiveItemIdentifiers |
IEnumerable<Generic.Models.ReceiveItemIdentifier>
|
identifies receive items to be affected
|
| Id |
int
|
|
| Threshold |
Inventory.Models.InventoryExpiryThresholdSource
|
source for where threshold configuration came from to produce the list
|
|
Inventory.Models.InventoryExpiryThresholdSource |
source for # of days before inventory expires to send alert |
|
- 0: ByItem |
get # of days from the item definition |
|
- 1: ByCust |
get # of days from the customer record |
| Links |
IList<WebApi.Hal.Link>
|
|
|
-
/rels/inventory/inventoryhold
|
to place inventory on hold |
Sample accept: application/hal+json
{
"receiveItemIdentifiers": [
{
"id": 1
}
],
"threshold": 0
}