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": "7e1ff575-e107-4385-b670-e7e3bd461437",
"SID": "b46ec53c-b607-46c8-85bd-fa2a56fb4556",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "157f82a2-9c48-4364-ac77-62af5a99e7d9",
"CID": "3c0e4d77-4449-4c88-b122-d1c9dc8e4865",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "157f82a2-9c48-4364-ac77-62af5a99e7d9",
"CID": "3c0e4d77-4449-4c88-b122-d1c9dc8e4865",
"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>7e1ff575-e107-4385-b670-e7e3bd461437</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>b46ec53c-b607-46c8-85bd-fa2a56fb4556</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>3c0e4d77-4449-4c88-b122-d1c9dc8e4865</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>157f82a2-9c48-4364-ac77-62af5a99e7d9</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>3c0e4d77-4449-4c88-b122-d1c9dc8e4865</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>157f82a2-9c48-4364-ac77-62af5a99e7d9</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": "221fc4f4-0f33-4732-9676-899308333e5c",
"SID": "5deb1e76-7fc4-4b4b-b84e-ea69e729714f",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "e90fab4c-68cf-405e-a1be-29bba30e892d",
"CID": "0dabf5fd-2da5-4d32-bd03-d5b2ec041220",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "e90fab4c-68cf-405e-a1be-29bba30e892d",
"CID": "0dabf5fd-2da5-4d32-bd03-d5b2ec041220",
"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>221fc4f4-0f33-4732-9676-899308333e5c</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>5deb1e76-7fc4-4b4b-b84e-ea69e729714f</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>0dabf5fd-2da5-4d32-bd03-d5b2ec041220</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>e90fab4c-68cf-405e-a1be-29bba30e892d</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>0dabf5fd-2da5-4d32-bd03-d5b2ec041220</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>e90fab4c-68cf-405e-a1be-29bba30e892d</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>