PUT api/shipmentsurvey/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
ShipmentSurveyName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
EstID | globally unique identifier |
None. |
|
idno | integer |
None. |
|
idsub | integer |
None. |
|
SurveyDate | date |
None. |
|
Note | string |
None. |
|
Weight | integer |
None. |
|
Area | integer |
None. |
|
UID | string |
None. |
|
Completed | date |
None. |
|
ShipmentSurveyContainers | Collection of ShipmentSurveyContainer |
None. |
|
ShipmentSurveyOthers | Collection of ShipmentSurveyOther |
None. |
|
ShipmentSurveyQuestions | Collection of ShipmentSurveyQuestion |
None. |
|
ShipmentSurveyCategories | Collection of ShipmentSurveyCategory |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "b8c10734-6969-4252-8cd3-e9d0696af08b", "EstID": "0742e67e-0ac9-497e-b050-9e5954589cbd", "idno": 1, "idsub": 1, "SurveyDate": "2025-01-22T00:12:41.4420101-05:00", "Note": "sample string 2", "Weight": 1, "Area": 1, "UID": "sample string 3", "Completed": "2025-01-22T00:12:41.4420101-05:00", "ShipmentSurveyContainers": [ { "ID": "57cce7f6-58eb-42c8-b40f-192fc45ecb6b", "SID": "9b6fd1d3-4fa9-4ea2-a010-a383bb9ba537", "Name": "sample string 3", "Qty": 1.1, "Cubes": 1.1, "Density": 1.1, "SortVal": 1, "CID": "3a55c89d-8773-462c-9472-96919a2794a6" }, { "ID": "57cce7f6-58eb-42c8-b40f-192fc45ecb6b", "SID": "9b6fd1d3-4fa9-4ea2-a010-a383bb9ba537", "Name": "sample string 3", "Qty": 1.1, "Cubes": 1.1, "Density": 1.1, "SortVal": 1, "CID": "3a55c89d-8773-462c-9472-96919a2794a6" } ], "ShipmentSurveyOthers": [ { "ID": "614dba8d-6b03-4c0a-814e-c96548e55aa7", "SID": "47c2f76e-b275-4703-b183-35b2c7ffef13", "Description": "sample string 3", "Weight": 1, "NotToShip": true }, { "ID": "614dba8d-6b03-4c0a-814e-c96548e55aa7", "SID": "47c2f76e-b275-4703-b183-35b2c7ffef13", "Description": "sample string 3", "Weight": 1, "NotToShip": true } ], "ShipmentSurveyQuestions": [ { "ID": "eb988d15-7dd3-41da-8e57-f900d7d76207", "SID": "25f87cd8-873b-411c-9331-b68ae10f51d3", "Name": "sample string 3", "Checked": true, "SortVal": 1, "ShipmentField": "sample string 5", "AddToCategory": "sample string 6" }, { "ID": "eb988d15-7dd3-41da-8e57-f900d7d76207", "SID": "25f87cd8-873b-411c-9331-b68ae10f51d3", "Name": "sample string 3", "Checked": true, "SortVal": 1, "ShipmentField": "sample string 5", "AddToCategory": "sample string 6" } ], "ShipmentSurveyCategories": [ { "ID": "680acaf7-a084-4b2f-9905-509f4f9fd51e", "SID": "e94a37b6-3922-4ff6-a016-3f970053229f", "Name": "sample string 3", "Cubes": 1.1, "Density": 1.1, "Note": "sample string 4", "Weight": 1, "ClassName": "sample string 5", "ShipmentSurveyItems": [ { "ID": "1dc43298-9744-4fc2-9a4e-3147fd7325e0", "CID": "763a0f5e-3a03-4e3b-8258-770a3fcf40e7", "Name": "sample string 3", "Qty": 1.1, "Cubes": 1.1, "Density": 1.1, "Note": "sample string 4", "NotToShip": true, "Weight": 1 }, { "ID": "1dc43298-9744-4fc2-9a4e-3147fd7325e0", "CID": "763a0f5e-3a03-4e3b-8258-770a3fcf40e7", "Name": "sample string 3", "Qty": 1.1, "Cubes": 1.1, "Density": 1.1, "Note": "sample string 4", "NotToShip": true, "Weight": 1 } ] }, { "ID": "680acaf7-a084-4b2f-9905-509f4f9fd51e", "SID": "e94a37b6-3922-4ff6-a016-3f970053229f", "Name": "sample string 3", "Cubes": 1.1, "Density": 1.1, "Note": "sample string 4", "Weight": 1, "ClassName": "sample string 5", "ShipmentSurveyItems": [ { "ID": "1dc43298-9744-4fc2-9a4e-3147fd7325e0", "CID": "763a0f5e-3a03-4e3b-8258-770a3fcf40e7", "Name": "sample string 3", "Qty": 1.1, "Cubes": 1.1, "Density": 1.1, "Note": "sample string 4", "NotToShip": true, "Weight": 1 }, { "ID": "1dc43298-9744-4fc2-9a4e-3147fd7325e0", "CID": "763a0f5e-3a03-4e3b-8258-770a3fcf40e7", "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:
<ShipmentSurvey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models"> <Area>1</Area> <Completed>2025-01-22T00:12:41.4420101-05:00</Completed> <EstID>0742e67e-0ac9-497e-b050-9e5954589cbd</EstID> <ID>b8c10734-6969-4252-8cd3-e9d0696af08b</ID> <Note>sample string 2</Note> <ShipmentSurveyCategories> <ShipmentSurveyCategory> <ClassName>sample string 5</ClassName> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>680acaf7-a084-4b2f-9905-509f4f9fd51e</ID> <Name>sample string 3</Name> <Note>sample string 4</Note> <SID>e94a37b6-3922-4ff6-a016-3f970053229f</SID> <ShipmentSurveyItems> <ShipmentSurveyItem> <CID>763a0f5e-3a03-4e3b-8258-770a3fcf40e7</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>1dc43298-9744-4fc2-9a4e-3147fd7325e0</ID> <Name>sample string 3</Name> <NotToShip>true</NotToShip> <Note>sample string 4</Note> <Qty>1.1</Qty> <Weight>1</Weight> </ShipmentSurveyItem> <ShipmentSurveyItem> <CID>763a0f5e-3a03-4e3b-8258-770a3fcf40e7</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>1dc43298-9744-4fc2-9a4e-3147fd7325e0</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> <ShipmentSurveyCategory> <ClassName>sample string 5</ClassName> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>680acaf7-a084-4b2f-9905-509f4f9fd51e</ID> <Name>sample string 3</Name> <Note>sample string 4</Note> <SID>e94a37b6-3922-4ff6-a016-3f970053229f</SID> <ShipmentSurveyItems> <ShipmentSurveyItem> <CID>763a0f5e-3a03-4e3b-8258-770a3fcf40e7</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>1dc43298-9744-4fc2-9a4e-3147fd7325e0</ID> <Name>sample string 3</Name> <NotToShip>true</NotToShip> <Note>sample string 4</Note> <Qty>1.1</Qty> <Weight>1</Weight> </ShipmentSurveyItem> <ShipmentSurveyItem> <CID>763a0f5e-3a03-4e3b-8258-770a3fcf40e7</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>1dc43298-9744-4fc2-9a4e-3147fd7325e0</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> </ShipmentSurveyCategories> <ShipmentSurveyContainers> <ShipmentSurveyContainer> <CID>3a55c89d-8773-462c-9472-96919a2794a6</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>57cce7f6-58eb-42c8-b40f-192fc45ecb6b</ID> <Name>sample string 3</Name> <Qty>1.1</Qty> <SID>9b6fd1d3-4fa9-4ea2-a010-a383bb9ba537</SID> <SortVal>1</SortVal> </ShipmentSurveyContainer> <ShipmentSurveyContainer> <CID>3a55c89d-8773-462c-9472-96919a2794a6</CID> <Cubes>1.1</Cubes> <Density>1.1</Density> <ID>57cce7f6-58eb-42c8-b40f-192fc45ecb6b</ID> <Name>sample string 3</Name> <Qty>1.1</Qty> <SID>9b6fd1d3-4fa9-4ea2-a010-a383bb9ba537</SID> <SortVal>1</SortVal> </ShipmentSurveyContainer> </ShipmentSurveyContainers> <ShipmentSurveyOthers> <ShipmentSurveyOther> <Description>sample string 3</Description> <ID>614dba8d-6b03-4c0a-814e-c96548e55aa7</ID> <NotToShip>true</NotToShip> <SID>47c2f76e-b275-4703-b183-35b2c7ffef13</SID> <Weight>1</Weight> </ShipmentSurveyOther> <ShipmentSurveyOther> <Description>sample string 3</Description> <ID>614dba8d-6b03-4c0a-814e-c96548e55aa7</ID> <NotToShip>true</NotToShip> <SID>47c2f76e-b275-4703-b183-35b2c7ffef13</SID> <Weight>1</Weight> </ShipmentSurveyOther> </ShipmentSurveyOthers> <ShipmentSurveyQuestions> <ShipmentSurveyQuestion> <AddToCategory>sample string 6</AddToCategory> <Checked>true</Checked> <ID>eb988d15-7dd3-41da-8e57-f900d7d76207</ID> <Name>sample string 3</Name> <SID>25f87cd8-873b-411c-9331-b68ae10f51d3</SID> <ShipmentField>sample string 5</ShipmentField> <SortVal>1</SortVal> </ShipmentSurveyQuestion> <ShipmentSurveyQuestion> <AddToCategory>sample string 6</AddToCategory> <Checked>true</Checked> <ID>eb988d15-7dd3-41da-8e57-f900d7d76207</ID> <Name>sample string 3</Name> <SID>25f87cd8-873b-411c-9331-b68ae10f51d3</SID> <ShipmentField>sample string 5</ShipmentField> <SortVal>1</SortVal> </ShipmentSurveyQuestion> </ShipmentSurveyQuestions> <SurveyDate>2025-01-22T00:12:41.4420101-05:00</SurveyDate> <UID>sample string 3</UID> <Weight>1</Weight> <idno>1</idno> <idsub>1</idsub> </ShipmentSurvey>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.