POST api/Tms/Items
Request Information
URI Parameters
None.
Body Parameters
BindTmsItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ShipmentId | integer |
Required |
|
| PurchaseOrder | string |
None. |
|
| Sku | string |
None. |
|
| Quantity | integer |
None. |
|
| Weight | decimal number |
Required |
|
| IsHazardousMateriel | boolean |
None. |
|
| PackagingGroupId | integer |
None. |
|
| FreightClass | string |
None. |
|
| Nmfc | string |
None. |
|
| StopId | integer |
None. |
|
| DeliveryStopId | integer |
None. |
|
| WeightMode | string |
None. |
|
| Commodity | string |
None. |
|
| FlatbedTypeId | integer |
None. |
|
| HandlingAmount | decimal number |
None. |
|
| SpaceReq | string |
None. |
|
| TempControl | boolean |
None. |
|
| TempMin | decimal number |
None. |
|
| TempMax | decimal number |
None. |
|
| FlatbedRequired | boolean |
None. |
|
| Length | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| Height | decimal number |
None. |
|
| PalletTypeId | integer |
None. |
|
| WeightType | string |
None. |
|
| WidthType | string |
None. |
|
| LenghtType | string |
None. |
|
| HeightType | string |
None. |
|
| DimensionsType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShipmentId": 1,
"PurchaseOrder": "sample string 2",
"Sku": "sample string 3",
"Quantity": 4,
"Weight": 5.0,
"IsHazardousMateriel": true,
"PackagingGroupId": 1,
"FreightClass": "sample string 7",
"Nmfc": "sample string 8",
"StopId": 1,
"DeliveryStopId": 1,
"WeightMode": "sample string 9",
"Commodity": "sample string 10",
"FlatbedTypeId": 1,
"HandlingAmount": 1.0,
"SpaceReq": "sample string 11",
"TempControl": true,
"TempMin": 1.0,
"TempMax": 1.0,
"FlatbedRequired": true,
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"PalletTypeId": 1,
"WeightType": "sample string 12",
"WidthType": "sample string 13",
"LenghtType": "sample string 14",
"HeightType": "sample string 15",
"DimensionsType": "sample string 16"
}
application/xml, text/xml
Sample:
<BindTmsItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.TransportationShipment"> <Commodity>sample string 10</Commodity> <DeliveryStopId>1</DeliveryStopId> <DimensionsType>sample string 16</DimensionsType> <FlatbedRequired>true</FlatbedRequired> <FlatbedTypeId>1</FlatbedTypeId> <FreightClass>sample string 7</FreightClass> <HandlingAmount>1</HandlingAmount> <Height>1</Height> <HeightType>sample string 15</HeightType> <IsHazardousMateriel>true</IsHazardousMateriel> <LenghtType>sample string 14</LenghtType> <Length>1</Length> <Nmfc>sample string 8</Nmfc> <PackagingGroupId>1</PackagingGroupId> <PalletTypeId>1</PalletTypeId> <PurchaseOrder>sample string 2</PurchaseOrder> <Quantity>4</Quantity> <ShipmentId>1</ShipmentId> <Sku>sample string 3</Sku> <SpaceReq>sample string 11</SpaceReq> <StopId>1</StopId> <TempControl>true</TempControl> <TempMax>1</TempMax> <TempMin>1</TempMin> <Weight>5</Weight> <WeightMode>sample string 9</WeightMode> <WeightType>sample string 12</WeightType> <Width>1</Width> <WidthType>sample string 13</WidthType> </BindTmsItemViewModel>
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.