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": "0e8a7d15-48bc-4927-9bbb-3bfa36dcc2a3",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "d849f6ec-8ae3-4368-abcd-1a25ad7822b3",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "400bc858-f513-4f04-b777-684f155a9f32",
"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": "87c935af-df48-4bfb-bb64-2b8e10a6cd3a",
"SequenceNo": 6
},
{
"ID": "400bc858-f513-4f04-b777-684f155a9f32",
"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": "87c935af-df48-4bfb-bb64-2b8e10a6cd3a",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "1570df6a-1fc8-433e-a924-fcdc7764e885",
"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": "7168d4b8-1f11-4830-8589-886491d81bf8",
"SequenceNo": 6
},
{
"ID": "1570df6a-1fc8-433e-a924-fcdc7764e885",
"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": "7168d4b8-1f11-4830-8589-886491d81bf8",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "6080214d-d3a5-4d0a-bc53-e61254b8048b",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "13cabe4e-27a5-4072-aecd-6c495d4e44fc",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "8125ae3f-9c92-40b6-a26a-ef6b81fc8810",
"TempLevelId": "e5a0fb61-eb53-495b-8cd5-fc81e4ca0901",
"BayId": "b3e938e1-54f7-471f-a29d-41b2ccddabd1",
"LevelId": "31d59fe0-ebd8-47b1-92c2-7ffb5db08b87",
"SubPositionOrder": 7
},
{
"ID": "6080214d-d3a5-4d0a-bc53-e61254b8048b",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "13cabe4e-27a5-4072-aecd-6c495d4e44fc",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "8125ae3f-9c92-40b6-a26a-ef6b81fc8810",
"TempLevelId": "e5a0fb61-eb53-495b-8cd5-fc81e4ca0901",
"BayId": "b3e938e1-54f7-471f-a29d-41b2ccddabd1",
"LevelId": "31d59fe0-ebd8-47b1-92c2-7ffb5db08b87",
"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>d849f6ec-8ae3-4368-abcd-1a25ad7822b3</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>400bc858-f513-4f04-b777-684f155a9f32</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>87c935af-df48-4bfb-bb64-2b8e10a6cd3a</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>400bc858-f513-4f04-b777-684f155a9f32</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>87c935af-df48-4bfb-bb64-2b8e10a6cd3a</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>0e8a7d15-48bc-4927-9bbb-3bfa36dcc2a3</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>1570df6a-1fc8-433e-a924-fcdc7764e885</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>7168d4b8-1f11-4830-8589-886491d81bf8</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>1570df6a-1fc8-433e-a924-fcdc7764e885</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>7168d4b8-1f11-4830-8589-886491d81bf8</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>b3e938e1-54f7-471f-a29d-41b2ccddabd1</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>6080214d-d3a5-4d0a-bc53-e61254b8048b</ID>
<Length>1</Length>
<LevelId>31d59fe0-ebd8-47b1-92c2-7ffb5db08b87</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>13cabe4e-27a5-4072-aecd-6c495d4e44fc</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>8125ae3f-9c92-40b6-a26a-ef6b81fc8810</TempBayId>
<TempLevelId>e5a0fb61-eb53-495b-8cd5-fc81e4ca0901</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>b3e938e1-54f7-471f-a29d-41b2ccddabd1</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>6080214d-d3a5-4d0a-bc53-e61254b8048b</ID>
<Length>1</Length>
<LevelId>31d59fe0-ebd8-47b1-92c2-7ffb5db08b87</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>13cabe4e-27a5-4072-aecd-6c495d4e44fc</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>8125ae3f-9c92-40b6-a26a-ef6b81fc8810</TempBayId>
<TempLevelId>e5a0fb61-eb53-495b-8cd5-fc81e4ca0901</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":"0e8a7d15-48bc-4927-9bbb-3bfa36dcc2a3","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"d849f6ec-8ae3-4368-abcd-1a25ad7822b3","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"400bc858-f513-4f04-b777-684f155a9f32","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":"87c935af-df48-4bfb-bb64-2b8e10a6cd3a","SequenceNo":6},{"ID":"400bc858-f513-4f04-b777-684f155a9f32","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":"87c935af-df48-4bfb-bb64-2b8e10a6cd3a","SequenceNo":6}],"Levels":[{"ID":"1570df6a-1fc8-433e-a924-fcdc7764e885","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":"7168d4b8-1f11-4830-8589-886491d81bf8","SequenceNo":6},{"ID":"1570df6a-1fc8-433e-a924-fcdc7764e885","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":"7168d4b8-1f11-4830-8589-886491d81bf8","SequenceNo":6}],"Positions":[{"ID":"6080214d-d3a5-4d0a-bc53-e61254b8048b","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"13cabe4e-27a5-4072-aecd-6c495d4e44fc","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"8125ae3f-9c92-40b6-a26a-ef6b81fc8810","TempLevelId":"e5a0fb61-eb53-495b-8cd5-fc81e4ca0901","BayId":"b3e938e1-54f7-471f-a29d-41b2ccddabd1","LevelId":"31d59fe0-ebd8-47b1-92c2-7ffb5db08b87","SubPositionOrder":7},{"ID":"6080214d-d3a5-4d0a-bc53-e61254b8048b","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"13cabe4e-27a5-4072-aecd-6c495d4e44fc","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"8125ae3f-9c92-40b6-a26a-ef6b81fc8810","TempLevelId":"e5a0fb61-eb53-495b-8cd5-fc81e4ca0901","BayId":"b3e938e1-54f7-471f-a29d-41b2ccddabd1","LevelId":"31d59fe0-ebd8-47b1-92c2-7ffb5db08b87","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.