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": "791d0959-016b-42ef-8075-90d80e2d6b49",
"SID": "62b5eabb-dfc0-4d26-9621-69da891e3eab",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "242080f2-e0f6-4a80-9f78-a15ef3f92275",
"CID": "1f3a7b8c-f71d-465b-b893-1ecf293b67e2",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "242080f2-e0f6-4a80-9f78-a15ef3f92275",
"CID": "1f3a7b8c-f71d-465b-b893-1ecf293b67e2",
"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>791d0959-016b-42ef-8075-90d80e2d6b49</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>62b5eabb-dfc0-4d26-9621-69da891e3eab</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>1f3a7b8c-f71d-465b-b893-1ecf293b67e2</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>242080f2-e0f6-4a80-9f78-a15ef3f92275</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>1f3a7b8c-f71d-465b-b893-1ecf293b67e2</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>242080f2-e0f6-4a80-9f78-a15ef3f92275</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": "262c30b7-cb6a-4875-b693-b7032361d3dd",
"SID": "7e30f94b-a9a8-47c2-a2da-a8a93c1c9e14",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "24cc5b6d-428b-422f-a0e0-957ca8d216fe",
"CID": "357fffad-5342-41d3-a8d1-161f919e46d5",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "24cc5b6d-428b-422f-a0e0-957ca8d216fe",
"CID": "357fffad-5342-41d3-a8d1-161f919e46d5",
"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>262c30b7-cb6a-4875-b693-b7032361d3dd</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>7e30f94b-a9a8-47c2-a2da-a8a93c1c9e14</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>357fffad-5342-41d3-a8d1-161f919e46d5</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>24cc5b6d-428b-422f-a0e0-957ca8d216fe</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>357fffad-5342-41d3-a8d1-161f919e46d5</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>24cc5b6d-428b-422f-a0e0-957ca8d216fe</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>