POST api/Locations/EditRow
Request Information
URI Parameters
None.
Body Parameters
LocationRowInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| SequenceName | string |
None. |
|
| PrefixId | integer |
None. |
|
| Name | string |
None. |
|
| StatusId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| AreaId | globally unique identifier |
None. |
|
| Length | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| DepartmentId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Description | string |
None. |
|
| Bays | Collection of LocationBayInputModel |
None. |
|
| Levels | Collection of LocationLevelInputModel |
None. |
|
| Positions | Collection of LocationPositionInputModel |
None. |
|
| Height | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "fe35095f-2e30-4480-b8d7-9c27caec36f8",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "4ad00189-d072-4aaf-84bd-31c50e1afb9b",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "66b64a71-8f94-422f-91e7-b0d522386fe4",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "1b925b8a-b565-4e0d-acf5-7fa979d13485",
"SequenceNo": 6
},
{
"ID": "66b64a71-8f94-422f-91e7-b0d522386fe4",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "1b925b8a-b565-4e0d-acf5-7fa979d13485",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "402f9bba-5f2a-4620-b9cc-db8b914b9550",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempLevelId": "eda0af8b-d9bd-4ede-8fba-7e2f85ddc490",
"SequenceNo": 6
},
{
"ID": "402f9bba-5f2a-4620-b9cc-db8b914b9550",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempLevelId": "eda0af8b-d9bd-4ede-8fba-7e2f85ddc490",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "603249ef-7d8c-4851-916c-77234e4f2a25",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "a551c4e2-9eea-46b9-8fb1-525517f787d1",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "afe03f0e-f3f2-41bd-b3e0-96a3afa546de",
"TempLevelId": "28c52745-131f-4fd2-b7a7-824eee0739c7",
"BayId": "0428f645-b1c0-4d65-986f-594fe992d3cd",
"LevelId": "bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d",
"SubPositionOrder": 7
},
{
"ID": "603249ef-7d8c-4851-916c-77234e4f2a25",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "a551c4e2-9eea-46b9-8fb1-525517f787d1",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "afe03f0e-f3f2-41bd-b3e0-96a3afa546de",
"TempLevelId": "28c52745-131f-4fd2-b7a7-824eee0739c7",
"BayId": "0428f645-b1c0-4d65-986f-594fe992d3cd",
"LevelId": "bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d",
"SubPositionOrder": 7
}
],
"Height": 1.0
}
application/xml, text/xml
Sample:
<LocationRowInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<AreaId>4ad00189-d072-4aaf-84bd-31c50e1afb9b</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>66b64a71-8f94-422f-91e7-b0d522386fe4</ID>
<Length>1</Length>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempBayId>1b925b8a-b565-4e0d-acf5-7fa979d13485</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>66b64a71-8f94-422f-91e7-b0d522386fe4</ID>
<Length>1</Length>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempBayId>1b925b8a-b565-4e0d-acf5-7fa979d13485</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>fe35095f-2e30-4480-b8d7-9c27caec36f8</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>402f9bba-5f2a-4620-b9cc-db8b914b9550</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>eda0af8b-d9bd-4ede-8fba-7e2f85ddc490</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>402f9bba-5f2a-4620-b9cc-db8b914b9550</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>eda0af8b-d9bd-4ede-8fba-7e2f85ddc490</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>0428f645-b1c0-4d65-986f-594fe992d3cd</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>603249ef-7d8c-4851-916c-77234e4f2a25</ID>
<Length>1</Length>
<LevelId>bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>a551c4e2-9eea-46b9-8fb1-525517f787d1</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>afe03f0e-f3f2-41bd-b3e0-96a3afa546de</TempBayId>
<TempLevelId>28c52745-131f-4fd2-b7a7-824eee0739c7</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>0428f645-b1c0-4d65-986f-594fe992d3cd</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>603249ef-7d8c-4851-916c-77234e4f2a25</ID>
<Length>1</Length>
<LevelId>bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>a551c4e2-9eea-46b9-8fb1-525517f787d1</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>afe03f0e-f3f2-41bd-b3e0-96a3afa546de</TempBayId>
<TempLevelId>28c52745-131f-4fd2-b7a7-824eee0739c7</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
</Positions>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<WarehouseId>1</WarehouseId>
<Width>1</Width>
</LocationRowInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"ID":"fe35095f-2e30-4480-b8d7-9c27caec36f8","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"4ad00189-d072-4aaf-84bd-31c50e1afb9b","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"66b64a71-8f94-422f-91e7-b0d522386fe4","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"1b925b8a-b565-4e0d-acf5-7fa979d13485","SequenceNo":6},{"ID":"66b64a71-8f94-422f-91e7-b0d522386fe4","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"1b925b8a-b565-4e0d-acf5-7fa979d13485","SequenceNo":6}],"Levels":[{"ID":"402f9bba-5f2a-4620-b9cc-db8b914b9550","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"Length":1.0,"Width":1.0,"Height":1.0,"CustomerId":1,"Description":"sample string 4","TempLevelId":"eda0af8b-d9bd-4ede-8fba-7e2f85ddc490","SequenceNo":6},{"ID":"402f9bba-5f2a-4620-b9cc-db8b914b9550","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"Length":1.0,"Width":1.0,"Height":1.0,"CustomerId":1,"Description":"sample string 4","TempLevelId":"eda0af8b-d9bd-4ede-8fba-7e2f85ddc490","SequenceNo":6}],"Positions":[{"ID":"603249ef-7d8c-4851-916c-77234e4f2a25","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"a551c4e2-9eea-46b9-8fb1-525517f787d1","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"afe03f0e-f3f2-41bd-b3e0-96a3afa546de","TempLevelId":"28c52745-131f-4fd2-b7a7-824eee0739c7","BayId":"0428f645-b1c0-4d65-986f-594fe992d3cd","LevelId":"bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d","SubPositionOrder":7},{"ID":"603249ef-7d8c-4851-916c-77234e4f2a25","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"a551c4e2-9eea-46b9-8fb1-525517f787d1","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"afe03f0e-f3f2-41bd-b3e0-96a3afa546de","TempLevelId":"28c52745-131f-4fd2-b7a7-824eee0739c7","BayId":"0428f645-b1c0-4d65-986f-594fe992d3cd","LevelId":"bcaf99b0-8ab0-41e0-8eb6-6f70f3d0600d","SubPositionOrder":7}],"Height":1.0}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.