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": "fff6d6ba-548d-4922-aca1-bb9e17ff0b5d",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "4174487d-ed05-4666-a32c-4857a4dec21a",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "e39ed762-40b1-4dc4-afa9-8781dab41871",
"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": "fc2555db-5c5b-4867-a66f-88471ec04ebe",
"SequenceNo": 6
},
{
"ID": "e39ed762-40b1-4dc4-afa9-8781dab41871",
"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": "fc2555db-5c5b-4867-a66f-88471ec04ebe",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "e0d3b9ab-2013-4bc9-b083-6f3986b575e1",
"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": "e3f648e4-b890-4ea8-9266-9eedeb37faae",
"SequenceNo": 6
},
{
"ID": "e0d3b9ab-2013-4bc9-b083-6f3986b575e1",
"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": "e3f648e4-b890-4ea8-9266-9eedeb37faae",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "02eb9c2a-6655-421d-8367-eacbe0ddeacf",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "c1ea94b0-13bb-499c-b36a-596c4088242b",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "4101a742-3c1f-4a28-8777-a9ef266a101c",
"TempLevelId": "60843806-410e-45a7-8d63-63b7721211cb",
"BayId": "88eef524-0841-4428-9ec7-f4476c683dda",
"LevelId": "4ab05f2f-6f77-4f8e-b99f-155551c91ce8",
"SubPositionOrder": 7
},
{
"ID": "02eb9c2a-6655-421d-8367-eacbe0ddeacf",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "c1ea94b0-13bb-499c-b36a-596c4088242b",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "4101a742-3c1f-4a28-8777-a9ef266a101c",
"TempLevelId": "60843806-410e-45a7-8d63-63b7721211cb",
"BayId": "88eef524-0841-4428-9ec7-f4476c683dda",
"LevelId": "4ab05f2f-6f77-4f8e-b99f-155551c91ce8",
"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>4174487d-ed05-4666-a32c-4857a4dec21a</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>e39ed762-40b1-4dc4-afa9-8781dab41871</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>fc2555db-5c5b-4867-a66f-88471ec04ebe</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>e39ed762-40b1-4dc4-afa9-8781dab41871</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>fc2555db-5c5b-4867-a66f-88471ec04ebe</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>fff6d6ba-548d-4922-aca1-bb9e17ff0b5d</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>e0d3b9ab-2013-4bc9-b083-6f3986b575e1</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>e3f648e4-b890-4ea8-9266-9eedeb37faae</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>e0d3b9ab-2013-4bc9-b083-6f3986b575e1</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>e3f648e4-b890-4ea8-9266-9eedeb37faae</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>88eef524-0841-4428-9ec7-f4476c683dda</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>02eb9c2a-6655-421d-8367-eacbe0ddeacf</ID>
<Length>1</Length>
<LevelId>4ab05f2f-6f77-4f8e-b99f-155551c91ce8</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>c1ea94b0-13bb-499c-b36a-596c4088242b</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>4101a742-3c1f-4a28-8777-a9ef266a101c</TempBayId>
<TempLevelId>60843806-410e-45a7-8d63-63b7721211cb</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>88eef524-0841-4428-9ec7-f4476c683dda</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>02eb9c2a-6655-421d-8367-eacbe0ddeacf</ID>
<Length>1</Length>
<LevelId>4ab05f2f-6f77-4f8e-b99f-155551c91ce8</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>c1ea94b0-13bb-499c-b36a-596c4088242b</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>4101a742-3c1f-4a28-8777-a9ef266a101c</TempBayId>
<TempLevelId>60843806-410e-45a7-8d63-63b7721211cb</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":"fff6d6ba-548d-4922-aca1-bb9e17ff0b5d","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"4174487d-ed05-4666-a32c-4857a4dec21a","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"e39ed762-40b1-4dc4-afa9-8781dab41871","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":"fc2555db-5c5b-4867-a66f-88471ec04ebe","SequenceNo":6},{"ID":"e39ed762-40b1-4dc4-afa9-8781dab41871","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":"fc2555db-5c5b-4867-a66f-88471ec04ebe","SequenceNo":6}],"Levels":[{"ID":"e0d3b9ab-2013-4bc9-b083-6f3986b575e1","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":"e3f648e4-b890-4ea8-9266-9eedeb37faae","SequenceNo":6},{"ID":"e0d3b9ab-2013-4bc9-b083-6f3986b575e1","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":"e3f648e4-b890-4ea8-9266-9eedeb37faae","SequenceNo":6}],"Positions":[{"ID":"02eb9c2a-6655-421d-8367-eacbe0ddeacf","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"c1ea94b0-13bb-499c-b36a-596c4088242b","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"4101a742-3c1f-4a28-8777-a9ef266a101c","TempLevelId":"60843806-410e-45a7-8d63-63b7721211cb","BayId":"88eef524-0841-4428-9ec7-f4476c683dda","LevelId":"4ab05f2f-6f77-4f8e-b99f-155551c91ce8","SubPositionOrder":7},{"ID":"02eb9c2a-6655-421d-8367-eacbe0ddeacf","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"c1ea94b0-13bb-499c-b36a-596c4088242b","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"4101a742-3c1f-4a28-8777-a9ef266a101c","TempLevelId":"60843806-410e-45a7-8d63-63b7721211cb","BayId":"88eef524-0841-4428-9ec7-f4476c683dda","LevelId":"4ab05f2f-6f77-4f8e-b99f-155551c91ce8","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.