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": "80fff848-19dc-4b4a-9d79-398985c41004",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "bada30f3-bf10-4903-83a2-9be62cf4be86",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "40fade9a-c9cd-48de-9157-a4ca8dcb6710",
"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": "a39c31a7-6a48-4245-9046-f315069bd24f",
"SequenceNo": 6
},
{
"ID": "40fade9a-c9cd-48de-9157-a4ca8dcb6710",
"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": "a39c31a7-6a48-4245-9046-f315069bd24f",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "a72a1988-8a64-4b19-9861-9b20d3a90e65",
"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": "2a15b4e6-46d9-4fa8-a157-eeb10523f1d1",
"SequenceNo": 6
},
{
"ID": "a72a1988-8a64-4b19-9861-9b20d3a90e65",
"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": "2a15b4e6-46d9-4fa8-a157-eeb10523f1d1",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "4a3070ba-5d0c-45f3-bf27-2c25122c5c85",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "f822e393-e6fa-4ead-9834-2249d64378dc",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "178b07f8-409e-44d2-8fdd-f2ea902792a2",
"TempLevelId": "80197ec0-8a68-4033-a65c-290514ef5839",
"BayId": "c0977284-6ced-44cb-8d06-87f691d0d6d8",
"LevelId": "fefe31b6-1968-41a0-8aac-a46e18c9aef9",
"SubPositionOrder": 7
},
{
"ID": "4a3070ba-5d0c-45f3-bf27-2c25122c5c85",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "f822e393-e6fa-4ead-9834-2249d64378dc",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "178b07f8-409e-44d2-8fdd-f2ea902792a2",
"TempLevelId": "80197ec0-8a68-4033-a65c-290514ef5839",
"BayId": "c0977284-6ced-44cb-8d06-87f691d0d6d8",
"LevelId": "fefe31b6-1968-41a0-8aac-a46e18c9aef9",
"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>bada30f3-bf10-4903-83a2-9be62cf4be86</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>40fade9a-c9cd-48de-9157-a4ca8dcb6710</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>a39c31a7-6a48-4245-9046-f315069bd24f</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>40fade9a-c9cd-48de-9157-a4ca8dcb6710</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>a39c31a7-6a48-4245-9046-f315069bd24f</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>80fff848-19dc-4b4a-9d79-398985c41004</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>a72a1988-8a64-4b19-9861-9b20d3a90e65</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>2a15b4e6-46d9-4fa8-a157-eeb10523f1d1</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>a72a1988-8a64-4b19-9861-9b20d3a90e65</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>2a15b4e6-46d9-4fa8-a157-eeb10523f1d1</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>c0977284-6ced-44cb-8d06-87f691d0d6d8</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>4a3070ba-5d0c-45f3-bf27-2c25122c5c85</ID>
<Length>1</Length>
<LevelId>fefe31b6-1968-41a0-8aac-a46e18c9aef9</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>f822e393-e6fa-4ead-9834-2249d64378dc</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>178b07f8-409e-44d2-8fdd-f2ea902792a2</TempBayId>
<TempLevelId>80197ec0-8a68-4033-a65c-290514ef5839</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>c0977284-6ced-44cb-8d06-87f691d0d6d8</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>4a3070ba-5d0c-45f3-bf27-2c25122c5c85</ID>
<Length>1</Length>
<LevelId>fefe31b6-1968-41a0-8aac-a46e18c9aef9</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>f822e393-e6fa-4ead-9834-2249d64378dc</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>178b07f8-409e-44d2-8fdd-f2ea902792a2</TempBayId>
<TempLevelId>80197ec0-8a68-4033-a65c-290514ef5839</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":"80fff848-19dc-4b4a-9d79-398985c41004","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"bada30f3-bf10-4903-83a2-9be62cf4be86","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"40fade9a-c9cd-48de-9157-a4ca8dcb6710","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":"a39c31a7-6a48-4245-9046-f315069bd24f","SequenceNo":6},{"ID":"40fade9a-c9cd-48de-9157-a4ca8dcb6710","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":"a39c31a7-6a48-4245-9046-f315069bd24f","SequenceNo":6}],"Levels":[{"ID":"a72a1988-8a64-4b19-9861-9b20d3a90e65","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":"2a15b4e6-46d9-4fa8-a157-eeb10523f1d1","SequenceNo":6},{"ID":"a72a1988-8a64-4b19-9861-9b20d3a90e65","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":"2a15b4e6-46d9-4fa8-a157-eeb10523f1d1","SequenceNo":6}],"Positions":[{"ID":"4a3070ba-5d0c-45f3-bf27-2c25122c5c85","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"f822e393-e6fa-4ead-9834-2249d64378dc","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"178b07f8-409e-44d2-8fdd-f2ea902792a2","TempLevelId":"80197ec0-8a68-4033-a65c-290514ef5839","BayId":"c0977284-6ced-44cb-8d06-87f691d0d6d8","LevelId":"fefe31b6-1968-41a0-8aac-a46e18c9aef9","SubPositionOrder":7},{"ID":"4a3070ba-5d0c-45f3-bf27-2c25122c5c85","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"f822e393-e6fa-4ead-9834-2249d64378dc","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"178b07f8-409e-44d2-8fdd-f2ea902792a2","TempLevelId":"80197ec0-8a68-4033-a65c-290514ef5839","BayId":"c0977284-6ced-44cb-8d06-87f691d0d6d8","LevelId":"fefe31b6-1968-41a0-8aac-a46e18c9aef9","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.