PUT api/ShipmentSurveyCategory/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "78abf341-4301-4ab1-92db-af95033aa3cd",
"SID": "785a989a-7a3f-45b5-a8fd-2db38826cb2c",
"Name": "sample string 3",
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"Weight": 1,
"ClassName": "sample string 5",
"ShipmentSurveyItems": [
{
"ID": "b6e6a572-83b0-42cc-a165-b681e426e316",
"CID": "3a2be1fa-d82d-4ddc-8bac-dbd134ea7290",
"Name": "sample string 3",
"Qty": 1.1,
"Cubes": 1.1,
"Density": 1.1,
"Note": "sample string 4",
"NotToShip": true,
"Weight": 1
},
{
"ID": "b6e6a572-83b0-42cc-a165-b681e426e316",
"CID": "3a2be1fa-d82d-4ddc-8bac-dbd134ea7290",
"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>78abf341-4301-4ab1-92db-af95033aa3cd</ID>
<Name>sample string 3</Name>
<Note>sample string 4</Note>
<SID>785a989a-7a3f-45b5-a8fd-2db38826cb2c</SID>
<ShipmentSurveyItems>
<ShipmentSurveyItem>
<CID>3a2be1fa-d82d-4ddc-8bac-dbd134ea7290</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>b6e6a572-83b0-42cc-a165-b681e426e316</ID>
<Name>sample string 3</Name>
<NotToShip>true</NotToShip>
<Note>sample string 4</Note>
<Qty>1.1</Qty>
<Weight>1</Weight>
</ShipmentSurveyItem>
<ShipmentSurveyItem>
<CID>3a2be1fa-d82d-4ddc-8bac-dbd134ea7290</CID>
<Cubes>1.1</Cubes>
<Density>1.1</Density>
<ID>b6e6a572-83b0-42cc-a165-b681e426e316</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
None.