this object model should not be used directly by the API client, but is assembled by the media formatter from the request's content-type and payload
Type
Description
ContentType
string
obtained from the HTTP "Content-Type" header
Content
Object
obtained from the HTTP payload
Sample content-type: application/hal+json
Copy to clipboard
copied
{
"contentType": "str" ,
"content": {}
}
The results of parsing an import file into individual objects ready to POST to /assemblies or /assemblies/importer
Type
Description
TransformId
int
FileFormat
Common.Enum.InputParserFormatType
- 0: EDI
- 1: TabDelim
- 2: XML
- 3: Unknown
Assemblies
IEnumerable<Inventory.Models.ImportFileParseAssembly>
Assembly
Inventory.Models.AssemblyCreate
Object model created from one entry of an import file
CustomerIdentifier
Generic.Models.CustomerIdentifier
ExternalId
string
Name
string
Id
int
FacilityIdentifier
Generic.Models.FacilityIdentifier
Name
string
Id
int
WarehouseTransactionSourceEnum
Common.Enum.WarehouseTransactionSourceType
how the transaction entered the system
- 0: Unknown
- 1: UiManual
- 2: UiImport
- 3: AutomatedImport
- 4: ExternalSoapApi
- 5: QuickBooksSoapApi
- 6: AutomatedSystemCharge
- 7: RestApi
TransactionEntryTypeEnum
Common.Enum.TransactionEntryType
the agent creating the transaction
- 0: DoangHair
unknown
- 1: ManualWarehouseUser
- 2: ManualCustomerUser
- 3: Ftp
- 4: Api
ItemIdentifier
Generic.Models.ItemIdentifier
Sku
string
Id
int
ReferenceNum
string
Transaction Reference Number
ExpectedDate
DateTime?
Transaction Due Date
AssemblyItemTrackByOptions
Inventory.Models.AssemblyTrackByOptions
IgnoreAll
bool
IgnoreCustomerSupplierUsageLevel
bool
IgnoreCostUsageLevel
bool
IgnoreExpirationDateUsageLevel
bool
IgnoreLotNumberUsageLevel
bool
IgnoreSerialNumberUsageLevel
bool
IgnoreLocationUsageLevel
bool
IgnoreMovableUnitsUsageLevel
bool
Description
string
Notes
string
InvoiceNumber
string
Qty
decimal
primary inventory quantity assembled
LotNumber
string
item must be enabled for lot numbers to use this field
SerialNumber
string
item must be enabled for serial numbers to use this field
ExpirationDate
DateTime?
item must be enabled for expiration dates to use this field
Cost
decimal?
item must be enabled for cost to use this field
SupplierIdentifier
Generic.Models.ContactIdentifier
customer must be enabled for suppliers to use this field
Name
string
Id
int
LocationInfo
Inventory.Models.LocationInfo
customer must be enabled for locations to use this field
Inventory.Models.LocationInfo
in GETs: the location; in POSTs or PUTs: identifies existing location or properties of new location
LocationId
int?
for identifying: if known specify only this; other fields are ignored
Display
string
specify either Display or RawField1..n but not both
RawField1
string
"Raw" means as the user envisions it without the internal magnitude notation applied for sorting
RawField2
string
RawField3
string
RawField4
string
PalletInfo
Inventory.Models.PalletInfo
customer must be enabled for movable units to use this field
Inventory.Models.PalletInfo
in GETs: the movable unit; in POSTs or PUTs: identifies existing movable unit or properties of new movable unit
PalletId
int?
for identifying: if known specify only this; other fields are ignored
Label
string
for identifying: if known but PalletId unknown, specify label, other fields ignored;
for creating: new unique label or leave blank for system to generate unique label number
SplitOverCapacityOnCreate
bool?
if true will use PalletInfo as template to create multiples and splits associated receive items accordingly
QtyOverrideOnSplit
decimal?
when creating and SplitOverCapacityOnCreate is true, overrides the Item.Options.Pallets.Qty otherwise used to create multiples
PalletTypeIdentifier
Generic.Models.PalletTypeIdentifier
required when creating new movable unit
Name
string
Id
int
Metric
Generic.Models.Dimension
optional when creating; if only Metric specified, Imperial is calculated
Length
decimal?
Width
decimal?
Height
decimal?
Weight
decimal?
Imperial
Generic.Models.Dimension
optional when creating; if only Imperial specified, Metric is calculated
Length
decimal?
Width
decimal?
Height
decimal?
Weight
decimal?
Billing
Generic.Models.Billing
PUT: set to null to make no changes to billing
BillingCharges
ICollection<Generic.Models.BillingCharge>
PUT: set to NULL or empty to delete all charges
ChargeType
Common.Enum.PriceCalcFieldType
charge type
- 1: Handling
- 2: Storage
- 3: PrepaidFreight
- 4: ThirdPartyFreight
- 5: SpecialCharges
- 6: Materials
- 7: AutoCalcStorage
used internally for sys-gen'ed charges
- 8: AutoCalcHandling
used internally for sys-gen'ed charges
- 8: MAXVAL
ignore, not a real value
Subtotal
decimal
Details
ICollection<Generic.Models.BillingChargeDetail>
WarehouseTransactionPriceCalcId
int
NumUnits
decimal
ChargeLabel
string
UnitDescription
string
ChargePerUnit
decimal
GlAcctNum
string
Sku
string
PtItem
string
PtItemDescription
string
PtArAcct
string
SystemGenerated
bool
TaxCode
string
Empty on GET. If present on POST or PUT, may create or update a "matching" PriceCalcRate record to be used while generating invoices
RecurringChargeDetails
IEnumerable<Generic.Models.RecurringChargeDetail>
On GET of charge Adjustments only
RecurringBillingDetailId
int
ReceiveItemId
int
OnHandAtBillTime
decimal
ItemIdentifier
Generic.Models.ItemIdentifier
Sku
string
Id
int
Qualifier
string
LotNumber
string
SerialNumber
string
ExpirationDate
DateTime?
Cost
decimal?
SupplierIdentifier
Generic.Models.ContactIdentifier
Name
string
Id
int
LocationIdentifier
Generic.Models.LocationIdentifier
NameKey
Generic.Models.LocationNameKey
FacilityIdentifier
Generic.Models.FacilityIdentifier
Name
string
Id
int
Name
string
Id
int
PalletIdentifier
Generic.Models.PalletIdentifier
NameKey
Generic.Models.PalletNameKey
FacilityIdentifier
Generic.Models.FacilityIdentifier
Name
string
Id
int
Name
string
Id
int
SavedElements
IEnumerable<Generic.Models.SavedElement>
Name
string
Value
string
AssemblyItems
IList<Inventory.Models.AssemblyItem>
ReadOnly
Inventory.Models.AssemblyItemReadOnly
OrderItemId
int
ItemIdentifier
Generic.Models.ItemIdentifier
Sku
string
Id
int
Qualifier
string
Qty
decimal?
SecondaryQty
decimal?
FullyAllocated
bool
ExpirationDate
DateTime?
UnitIdentifier
Generic.Models.UnitOfMeasureIdentifier
for convenience, referenced item's primary inventory unit
Name
string
Id
int
SecondaryUnitIdentifier
Generic.Models.UnitOfMeasureIdentifier
for convenience, referenced item's secondary inventory unit if defined
Name
string
Id
int
EstimatedQty
decimal?
if present, calculated from SecondaryQty and cannot confirm until Qty entered
EstimatedSecondaryQty
decimal?
if present, calculated from Qty and cannot confirm until SecondaryQty entered
OriginalPrimaryQty
decimal?
on a shorted order, specifies original quantity ordered; otherwise same as Qty
IsOrderQtySecondary
bool
if both Qty and SecondaryQty present, indicates whether at some point prior to shipping only SecondaryQty was present
Bin
string
supplied on GET, ignored on PUT, POST; use pick operations to set; cleared when shipped or packaged
Allocations
IEnumerable<Inventory.Models.Allocation>
OrderItemId
int
ReceiveItemId
int
Qty
decimal?
ProperlyPickedPrimary
decimal?
ProperlyPickedSecondary
decimal?
LoadedOut
bool
Detail
Order.Models.AllocationDetail
null unless requested by including AllocationsWithDetail in OrderItemChildren
ItemTraits
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
LocationIdentifier
Generic.Models.LocationIdentifier
NameKey
Generic.Models.LocationNameKey
FacilityIdentifier
Generic.Models.FacilityIdentifier
Name
string
Id
int
Name
string
Id
int
LocationSort
Order.Models.LocationSort
Field1
string
Field2
string
Field3
string
Field4
string
SavedElements
IEnumerable<Generic.Models.SavedElement>
Name
string
Value
string
PickPath
int?
Links
IList<WebApi.Hal.Link>
-
/rels/inventory/receiveritem
-
/rels/orders/item
-
/rels/inventory/inventoryitem
-
/rels/inventory/inventoryreduction
LotNumber
string
if present, used to allocate matching inventory
SerialNumber
string
if present, used to allocate matching inventory
MovableUnitLabel
string
the MovableUnitLabel for new ReceiveItems
SplitLineByMovableUnit
bool
Split line by movable unit for receive items
MovableUnitNumber
decimal?
When creating and SplitLineByMovableUnit is true, overrides the Item.Options.Pallets.Qty otherwise used to create multiples
ProposedAllocations
IEnumerable<Generic.Models.ProposedAllocation>
ReceiveItemId
int
Qty
decimal
Links
IList<WebApi.Hal.Link>
-
edit
-
/rels/inventory/assembly
-
/rels/inventory/inventoryreduction
-
/rels/customers/customer
-
/rels/properties/facility
ListException
Generic.Models.Exceptions.ListException
container of WmsExceptionBase-derived exceptions occuring during actions on lists, such as import or mass ops
Message
string
Faults
IList<Generic.Models.Exceptions.ListEntryFault>
EntryNumber
int
1-indexed position in the source list
EntryInfo
string
optional info about the entry in the source list, such as id, sku, ref#, etc.
WmsException
Generic.Models.Exceptions.WmsExceptionBase
for more details at runtime see which WmsExceptionBase-derived exception it is
ErrorCode
string
could have been a number, but is a short string for human readability; not to be localized
Hint
string
helpful word or two if the thrower happens to know more things; not to be localized
Message
string
InnerException
System.Exception
Links
IList<WebApi.Hal.Link>
-
/rels/inventory/assemblyimport
create assemblies
Sample accept: application/hal+json
{
"transformId": 1 ,
"fileFormat": 0 ,
"assemblies": [
{
"assembly": {
"customerIdentifier": {
"externalId": "str" ,
"name": "str" ,
"id": 3
},
"facilityIdentifier": {
"name": "str" ,
"id": 2
},
"warehouseTransactionSourceEnum": 0 ,
"transactionEntryTypeEnum": 0 ,
"itemIdentifier": {
"sku": "str" ,
"id": 2
},
"referenceNum": "str" ,
"expectedDate": "2016-12-25T23:00:00" ,
"assemblyItemTrackByOptions": {
"ignoreAll": true ,
"ignoreCustomerSupplierUsageLevel": true ,
"ignoreCostUsageLevel": true ,
"ignoreExpirationDateUsageLevel": true ,
"ignoreLotNumberUsageLevel": true ,
"ignoreSerialNumberUsageLevel": true ,
"ignoreLocationUsageLevel": true ,
"ignoreMovableUnitsUsageLevel": true
},
"description": "str" ,
"notes": "str" ,
"invoiceNumber": "str" ,
"qty": 5.0 ,
"lotNumber": "str" ,
"serialNumber": "str" ,
"expirationDate": "2016-12-25T23:00:00" ,
"cost": 1.0 ,
"supplierIdentifier": {
"name": "str" ,
"id": 2
},
"locationInfo": {
"locationId": 1 ,
"display": "str" ,
"rawField1": "str" ,
"rawField2": "str" ,
"rawField3": "str" ,
"rawField4": "str"
},
"palletInfo": {
"palletId": 1 ,
"label": "str" ,
"splitOverCapacityOnCreate": true ,
"qtyOverrideOnSplit": 1.0 ,
"palletTypeIdentifier": {
"name": "str" ,
"id": 2
},
"metric": {
"length": 1.0 ,
"width": 1.0 ,
"height": 1.0 ,
"weight": 1.0
},
"imperial": {
"length": 1.0 ,
"width": 1.0 ,
"height": 1.0 ,
"weight": 1.0
}
},
"billing": {
"billingCharges": [
{
"chargeType": 1 ,
"subtotal": 1.0 ,
"details": [
{
"warehouseTransactionPriceCalcId": 1 ,
"numUnits": 2.0 ,
"chargeLabel": "str" ,
"unitDescription": "str" ,
"chargePerUnit": 5.0 ,
"glAcctNum": "str" ,
"sku": "str" ,
"ptItem": "str" ,
"ptItemDescription": "str" ,
"ptArAcct": "str" ,
"systemGenerated": true ,
"taxCode": "str" ,
"recurringChargeDetails": [
{
"recurringBillingDetailId": 1 ,
"receiveItemId": 2 ,
"onHandAtBillTime": 3.0 ,
"itemIdentifier": {
"sku": "str" ,
"id": 2
},
"qualifier": "str" ,
"lotNumber": "str" ,
"serialNumber": "str" ,
"expirationDate": "2016-12-25T23:00:00" ,
"cost": 1.0 ,
"supplierIdentifier": {
"name": "str" ,
"id": 2
},
"locationIdentifier": {
"nameKey": {
"facilityIdentifier": {
"name": "str" ,
"id": 2
},
"name": "str"
},
"id": 1
},
"palletIdentifier": {
"nameKey": {
"facilityIdentifier": {
"name": "str" ,
"id": 2
},
"name": "str"
},
"id": 1
}
}
]
}
]
}
]
},
"savedElements": [
{
"name": "str" ,
"value": "str"
}
],
"assemblyItems": [
{
"readOnly": {
"orderItemId": 1 ,
"itemIdentifier": {
"sku": "str" ,
"id": 2
},
"qualifier": "str" ,
"qty": 1.0 ,
"secondaryQty": 1.0 ,
"fullyAllocated": true ,
"expirationDate": "2016-12-25T23:00:00" ,
"unitIdentifier": {
"name": "str" ,
"id": 2
},
"secondaryUnitIdentifier": {
"name": "str" ,
"id": 2
},
"estimatedQty": 1.0 ,
"estimatedSecondaryQty": 1.0 ,
"originalPrimaryQty": 1.0 ,
"isOrderQtySecondary": true ,
"bin": "str" ,
"rowVersion": "str" ,
"allocations": [
{
"orderItemId": 1 ,
"receiveItemId": 2 ,
"qty": 1.0 ,
"properlyPickedPrimary": 1.0 ,
"properlyPickedSecondary": 1.0 ,
"loadedOut": true ,
"detail": {
"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
}
},
"locationIdentifier": {
"nameKey": {
"facilityIdentifier": {
"name": "str" ,
"id": 2
},
"name": "str"
},
"id": 1
},
"locationSort": {
"field1": "str" ,
"field2": "str" ,
"field3": "str" ,
"field4": "str"
},
"savedElements": [
{
"name": "str" ,
"value": "str"
}
],
"pickPath": 1
},
"_links": null
}
]
},
"lotNumber": "str" ,
"serialNumber": "str" ,
"movableUnitLabel": "str" ,
"splitLineByMovableUnit": true ,
"movableUnitNumber": 1.0 ,
"proposedAllocations": [
{
"receiveItemId": 1 ,
"qty": 2.0
}
],
"_links": null
}
],
"_links": null
}
}
],
"listException": {
"message": "ListException: Faults [{EntryNumber 1, }]" ,
"faults": [
{
"entryNumber": 1 ,
"entryInfo": "str"
}
],
"data": {},
"helpLink": "str" ,
"source": "str" ,
"hResult": 3
}
}