Name
(* = required)
|
Data Type | Description |
id
*
|
int |
facility id |
aid
*
|
int |
audit id |
lid
*
|
int |
location id |
cid
*
|
int |
count id |
a count for a location with an audit task
|
Type |
Description |
CountId |
int
|
internal id for this count; use in AuditCountIdentifier when moving and adjusting
|
LocationIdentifier |
Generic.Models.LocationIdentifier
|
|
NameKey |
Generic.Models.LocationNameKey
|
|
FacilityIdentifier |
Generic.Models.FacilityIdentifier
|
|
Name |
string
|
|
Id |
int
|
|
Name |
string
|
|
Id |
int
|
|
ItemTraits |
Generic.Models.ItemTraits
|
either what was counted or what is contained within a location
|
|
Generic.Models.ItemTraits |
unique identifying characteristics of an item in a location
|
ItemIdentifier |
Generic.Models.ItemIdentifier
|
|
Sku |
string
|
|
Id |
int
|
|
Qualifier |
string
|
|
LotNumber |
string
|
|
SerialNumber |
string
|
|
Cost |
decimal?
|
|
ExpirationDate |
DateTime?
|
|
PalletIdentifier |
Generic.Models.PalletIdentifier
|
|
NameKey |
Generic.Models.PalletNameKey
|
|
FacilityIdentifier |
Generic.Models.FacilityIdentifier
|
|
Name |
string
|
|
Id |
int
|
|
Name |
string
|
|
Id |
int
|
|
Counted |
decimal
|
how many was counted; zero if not counted but system thinks inventory is in given location
|
OnHand |
decimal
|
how many the system thinks is on hand in given location
|
Available |
decimal
|
how many the system thinks is available in given location
|
OtherInventoryOnHand |
IEnumerable<Inventory.Models.NotCounted>
|
if Audit's CollectTrackbys true when counted or item doesn't allow trackbys: null; otherwise not null, listing on-hand quantities with any non-empty trackby in given location
|
LotNumber |
string
|
|
SerialNumber |
string
|
|
ExpirationDate |
DateTime?
|
|
OnHand |
decimal
|
|
Available |
decimal
|
|
Links |
IList<WebApi.Hal.Link>
|
|
|
-
/rels/inventory/auditlocationcounts
|
DELETE to remove all counts for this location |
|
-
/rels/inventory/auditswap
|
swap inventory quantity to this location from other specified locations |
|
-
/rels/inventory/audit
|
|
Sample accept: application/hal+json
{
"countId": 1,
"locationIdentifier": {
"nameKey": {
"facilityIdentifier": {
"name": "str",
"id": 2
},
"name": "str"
},
"id": 1
},
"itemTraits": {
"itemIdentifier": {
"sku": "str",
"id": 2
},
"qualifier": "str",
"lotNumber": "str",
"serialNumber": "str",
"cost": 1.0,
"expirationDate": "2016-12-25T23:00:00",
"palletIdentifier": {
"nameKey": {
"facilityIdentifier": {
"name": "str",
"id": 2
},
"name": "str"
},
"id": 1
}
},
"counted": 2.0,
"onHand": 3.0,
"available": 4.0,
"otherInventoryOnHand": [
{
"lotNumber": "str",
"serialNumber": "str",
"expirationDate": "2016-12-25T23:00:00",
"onHand": 3.0,
"available": 4.0
}
]
}