POST api/TransportationShipments/Item
Request Information
URI Parameters
None.
Body Parameters
BindTransportationItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ShipmentId | integer |
Required |
|
| PurchaseOrder | string |
None. |
|
| Sku | string |
None. |
|
| Location | string |
None. |
|
| Pieces | integer |
Required |
|
| Pallets | integer |
None. |
|
| UnitOfMeasureId | integer |
Required |
|
| UnitCount | integer |
Required |
|
| Description | string |
None. |
|
| Weight | decimal number |
Required |
|
| WeightType | string |
Required |
|
| Cube | decimal number |
Required |
|
| CubeType | string |
Required |
|
| OverQuantity | integer |
None. |
|
| ShortQuantity | integer |
None. |
|
| DamagedQuantity | integer |
None. |
|
| AstrayQuantity | integer |
None. |
|
| IsHot | boolean |
None. |
|
| IsHazardousMateriel | boolean |
None. |
|
| UnNumber | string |
None. |
|
| PackagingGroup | integer |
None. |
|
| HazardClass | integer |
None. |
|
| PieceDescription | string |
None. |
|
| EmergencyContactNumber | string |
None. |
|
| LBSWeight | decimal number |
None. |
|
| CFTCube | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| Height | decimal number |
None. |
|
| Length | decimal number |
None. |
|
| Upc | string |
None. |
|
| BuyerId | string |
None. |
|
| Department | string |
None. |
|
| PoExpectedDate | date |
None. |
|
| ThirdPartyQuantity | integer |
None. |
|
| ThirdPartyName | string |
None. |
|
| ReferenceNumber | string |
None. |
|
| FreightClass | string |
None. |
|
| Nmfc | string |
None. |
|
| StopId | integer |
None. |
|
| DeliveryStopId | integer |
None. |
|
| WeightMode | string |
None. |
|
| Commodity | string |
None. |
|
| DimensionsType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShipmentId": 1,
"PurchaseOrder": "sample string 2",
"Sku": "sample string 3",
"Location": "sample string 4",
"Pieces": 5,
"Pallets": 1,
"UnitOfMeasureId": 6,
"UnitCount": 7,
"Description": "sample string 8",
"Weight": 9.0,
"WeightType": "sample string 10",
"Cube": 11.0,
"CubeType": "sample string 12",
"OverQuantity": 1,
"ShortQuantity": 1,
"DamagedQuantity": 1,
"AstrayQuantity": 1,
"IsHot": true,
"IsHazardousMateriel": true,
"UnNumber": "sample string 15",
"PackagingGroup": 1,
"HazardClass": 1,
"PieceDescription": "sample string 16",
"EmergencyContactNumber": "sample string 17",
"LBSWeight": 1.0,
"CFTCube": 1.0,
"Width": 1.0,
"Height": 1.0,
"Length": 1.0,
"Upc": "sample string 18",
"BuyerId": "sample string 19",
"Department": "sample string 20",
"PoExpectedDate": "2025-12-06T00:19:06.9977024-08:00",
"ThirdPartyQuantity": 1,
"ThirdPartyName": "sample string 21",
"ReferenceNumber": "sample string 22",
"FreightClass": "sample string 23",
"Nmfc": "sample string 24",
"StopId": 1,
"DeliveryStopId": 1,
"WeightMode": "sample string 25",
"Commodity": "sample string 26",
"DimensionsType": "sample string 27"
}
application/xml, text/xml
Sample:
<BindTransportationItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.TransportationShipment"> <AstrayQuantity>1</AstrayQuantity> <BuyerId>sample string 19</BuyerId> <CFTCube>1</CFTCube> <Commodity>sample string 26</Commodity> <Cube>11</Cube> <CubeType>sample string 12</CubeType> <DamagedQuantity>1</DamagedQuantity> <DeliveryStopId>1</DeliveryStopId> <Department>sample string 20</Department> <Description>sample string 8</Description> <DimensionsType>sample string 27</DimensionsType> <EmergencyContactNumber>sample string 17</EmergencyContactNumber> <FreightClass>sample string 23</FreightClass> <HazardClass>1</HazardClass> <Height>1</Height> <IsHazardousMateriel>true</IsHazardousMateriel> <IsHot>true</IsHot> <LBSWeight>1</LBSWeight> <Length>1</Length> <Location>sample string 4</Location> <Nmfc>sample string 24</Nmfc> <OverQuantity>1</OverQuantity> <PackagingGroup>1</PackagingGroup> <Pallets>1</Pallets> <PieceDescription>sample string 16</PieceDescription> <Pieces>5</Pieces> <PoExpectedDate>2025-12-06T00:19:06.9977024-08:00</PoExpectedDate> <PurchaseOrder>sample string 2</PurchaseOrder> <ReferenceNumber>sample string 22</ReferenceNumber> <ShipmentId>1</ShipmentId> <ShortQuantity>1</ShortQuantity> <Sku>sample string 3</Sku> <StopId>1</StopId> <ThirdPartyName>sample string 21</ThirdPartyName> <ThirdPartyQuantity>1</ThirdPartyQuantity> <UnNumber>sample string 15</UnNumber> <UnitCount>7</UnitCount> <UnitOfMeasureId>6</UnitOfMeasureId> <Upc>sample string 18</Upc> <Weight>9</Weight> <WeightMode>sample string 25</WeightMode> <WeightType>sample string 10</WeightType> <Width>1</Width> </BindTransportationItemViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.