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": "5653a824-7372-4fbb-b08f-7804f7b25d45",
"SID": "ba4979ff-705b-4e17-bc9d-8d2de6065adc",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "060bbe49-6266-44ab-82ea-37c1f57ff017",
"CID": "6d01d0da-61cd-48de-8d96-6310988c78eb",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "060bbe49-6266-44ab-82ea-37c1f57ff017",
"CID": "6d01d0da-61cd-48de-8d96-6310988c78eb",
"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>5653a824-7372-4fbb-b08f-7804f7b25d45</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>ba4979ff-705b-4e17-bc9d-8d2de6065adc</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>6d01d0da-61cd-48de-8d96-6310988c78eb</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>060bbe49-6266-44ab-82ea-37c1f57ff017</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>6d01d0da-61cd-48de-8d96-6310988c78eb</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>060bbe49-6266-44ab-82ea-37c1f57ff017</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": "c8b7bd23-9d55-4274-bc09-bc7c0ee0a87b",
"SID": "9c0878e2-7a94-44c8-9b91-fe52a4b72fc4",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "38de72cf-dc18-468e-a646-2141b775d4d1",
"CID": "2fdb73ba-5e70-43e0-9f73-340ad89fe136",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "38de72cf-dc18-468e-a646-2141b775d4d1",
"CID": "2fdb73ba-5e70-43e0-9f73-340ad89fe136",
"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>c8b7bd23-9d55-4274-bc09-bc7c0ee0a87b</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>9c0878e2-7a94-44c8-9b91-fe52a4b72fc4</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>2fdb73ba-5e70-43e0-9f73-340ad89fe136</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>38de72cf-dc18-468e-a646-2141b775d4d1</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>2fdb73ba-5e70-43e0-9f73-340ad89fe136</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>38de72cf-dc18-468e-a646-2141b775d4d1</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>