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": "de94db43-c378-4c60-874b-49326ee0a006",
"SID": "8ff7a390-118c-48c5-aabd-24650d1e3700",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "d7f4fa39-3040-436d-ad8d-8b65932c5efc",
"CID": "08cbf0c7-43f0-4f43-b75d-aae6302b4685",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "d7f4fa39-3040-436d-ad8d-8b65932c5efc",
"CID": "08cbf0c7-43f0-4f43-b75d-aae6302b4685",
"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>de94db43-c378-4c60-874b-49326ee0a006</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>8ff7a390-118c-48c5-aabd-24650d1e3700</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>08cbf0c7-43f0-4f43-b75d-aae6302b4685</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>d7f4fa39-3040-436d-ad8d-8b65932c5efc</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>08cbf0c7-43f0-4f43-b75d-aae6302b4685</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>d7f4fa39-3040-436d-ad8d-8b65932c5efc</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": "eaa162b0-3e85-4f02-b892-0a6255bdd0c0",
"SID": "23d61d9c-a40c-4709-bbb9-04f7c95bf1a7",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "d6038875-d68f-45c1-b3cd-9d7255afb908",
"CID": "9399ba2d-c016-4389-b352-c2fe4aa65f6e",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "d6038875-d68f-45c1-b3cd-9d7255afb908",
"CID": "9399ba2d-c016-4389-b352-c2fe4aa65f6e",
"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>eaa162b0-3e85-4f02-b892-0a6255bdd0c0</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>23d61d9c-a40c-4709-bbb9-04f7c95bf1a7</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>9399ba2d-c016-4389-b352-c2fe4aa65f6e</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>d6038875-d68f-45c1-b3cd-9d7255afb908</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>9399ba2d-c016-4389-b352-c2fe4aa65f6e</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>d6038875-d68f-45c1-b3cd-9d7255afb908</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>