POST api/ShipmentSurveyCategory
Request Information
URI Parameters
None.
Body Parameters
ShipmentSurveyCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| SID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Cubes | decimal number |
None. |
|
| Density | decimal number |
None. |
|
| Note | string |
None. |
|
| Weight | integer |
None. |
|
| ClassName | string |
None. |
|
| ShipmentSurveyItems | Collection of ShipmentSurveyItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "1170eddf-a9bb-49c7-a9c5-869189c0447a",
"SID": "500a259a-bd67-47f8-8fd5-0ea53f130c79",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "742a3e6f-908c-4426-9e77-31daebda558a",
"CID": "6a5dbe2c-04e7-44dc-9654-18e7dde204db",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "742a3e6f-908c-4426-9e77-31daebda558a",
"CID": "6a5dbe2c-04e7-44dc-9654-18e7dde204db",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
}
]
}
application/xml, text/xml
Sample:
<ShipmentSurveyCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
<ClassName>sample string 5</ClassName>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>1170eddf-a9bb-49c7-a9c5-869189c0447a</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>500a259a-bd67-47f8-8fd5-0ea53f130c79</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>6a5dbe2c-04e7-44dc-9654-18e7dde204db</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>742a3e6f-908c-4426-9e77-31daebda558a</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>6a5dbe2c-04e7-44dc-9654-18e7dde204db</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>742a3e6f-908c-4426-9e77-31daebda558a</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
</ShipmentSurveyItems>
<Weight>1</Weight>
</ShipmentSurveyCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShipmentSurveyCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| SID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Cubes | decimal number |
None. |
|
| Density | decimal number |
None. |
|
| Note | string |
None. |
|
| Weight | integer |
None. |
|
| ClassName | string |
None. |
|
| ShipmentSurveyItems | Collection of ShipmentSurveyItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "74efcbdf-e1e5-45ac-91a9-1c65d864686e",
"SID": "e608b167-cd51-4326-8424-4e3df77788ab",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "5f686bef-f3c3-43eb-acab-5705be435d29",
"CID": "496da35d-1c5d-4e2e-87b2-1cf7e96451d3",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "5f686bef-f3c3-43eb-acab-5705be435d29",
"CID": "496da35d-1c5d-4e2e-87b2-1cf7e96451d3",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
}
]
}
application/xml, text/xml
Sample:
<ShipmentSurveyCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
<ClassName>sample string 5</ClassName>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>74efcbdf-e1e5-45ac-91a9-1c65d864686e</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>e608b167-cd51-4326-8424-4e3df77788ab</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>496da35d-1c5d-4e2e-87b2-1cf7e96451d3</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>5f686bef-f3c3-43eb-acab-5705be435d29</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>496da35d-1c5d-4e2e-87b2-1cf7e96451d3</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>5f686bef-f3c3-43eb-acab-5705be435d29</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
</ShipmentSurveyItems>
<Weight>1</Weight>
</ShipmentSurveyCategory>