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": "40557808-282e-485f-9833-eaf16a2144ff",
"SID": "3c41e279-fa3e-4728-b87e-366d100f232e",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "115c6a21-7bd0-4af6-87db-4650deae79aa",
"CID": "9fab9ca4-817f-423e-96c3-e6d1f55ad64e",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "115c6a21-7bd0-4af6-87db-4650deae79aa",
"CID": "9fab9ca4-817f-423e-96c3-e6d1f55ad64e",
"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>40557808-282e-485f-9833-eaf16a2144ff</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>3c41e279-fa3e-4728-b87e-366d100f232e</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>9fab9ca4-817f-423e-96c3-e6d1f55ad64e</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>115c6a21-7bd0-4af6-87db-4650deae79aa</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>9fab9ca4-817f-423e-96c3-e6d1f55ad64e</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>115c6a21-7bd0-4af6-87db-4650deae79aa</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": "4d452c09-46e1-4096-a72b-090681ad67eb",
"SID": "a6d47cbd-cb5b-46d3-a622-1dd9c11618fe",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "909f335a-1ac5-4ecd-b9d1-80b409c4c2b4",
"CID": "ff67c248-2f30-44b9-b10e-46ada59732dc",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "909f335a-1ac5-4ecd-b9d1-80b409c4c2b4",
"CID": "ff67c248-2f30-44b9-b10e-46ada59732dc",
"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>4d452c09-46e1-4096-a72b-090681ad67eb</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>a6d47cbd-cb5b-46d3-a622-1dd9c11618fe</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>ff67c248-2f30-44b9-b10e-46ada59732dc</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>909f335a-1ac5-4ecd-b9d1-80b409c4c2b4</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>ff67c248-2f30-44b9-b10e-46ada59732dc</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>909f335a-1ac5-4ecd-b9d1-80b409c4c2b4</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>