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": "98113853-ed79-41a5-b2fe-329c106e1d26",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "15c7bf27-3783-4dd9-974d-32b9c9ede043",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "61bd9540-eeb0-4c9f-ab26-23217fdb2ba0",
"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": "110042b7-d752-4747-94aa-da9f77622554",
"SequenceNo": 6
},
{
"ID": "61bd9540-eeb0-4c9f-ab26-23217fdb2ba0",
"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": "110042b7-d752-4747-94aa-da9f77622554",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "5e0eafed-3949-4b45-9ccb-b73151faef39",
"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": "541a3c04-7f7c-45f3-85da-7f5a7caefeba",
"SequenceNo": 6
},
{
"ID": "5e0eafed-3949-4b45-9ccb-b73151faef39",
"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": "541a3c04-7f7c-45f3-85da-7f5a7caefeba",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "87228879-8544-495e-b707-fd1350594835",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "919a0e37-4714-4853-8c87-98ed4706e7c7",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "58406375-f462-4a0f-bff7-18f66725e0b4",
"TempLevelId": "d800fde8-4345-43a8-b3f9-92b04382e5a1",
"BayId": "92e089d1-3c34-442a-9344-7f1bbd8d6ae5",
"LevelId": "e2fe597d-1ebd-45a7-b0d5-ecc35600f26c",
"SubPositionOrder": 7
},
{
"ID": "87228879-8544-495e-b707-fd1350594835",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "919a0e37-4714-4853-8c87-98ed4706e7c7",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "58406375-f462-4a0f-bff7-18f66725e0b4",
"TempLevelId": "d800fde8-4345-43a8-b3f9-92b04382e5a1",
"BayId": "92e089d1-3c34-442a-9344-7f1bbd8d6ae5",
"LevelId": "e2fe597d-1ebd-45a7-b0d5-ecc35600f26c",
"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>15c7bf27-3783-4dd9-974d-32b9c9ede043</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>61bd9540-eeb0-4c9f-ab26-23217fdb2ba0</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>110042b7-d752-4747-94aa-da9f77622554</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>61bd9540-eeb0-4c9f-ab26-23217fdb2ba0</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>110042b7-d752-4747-94aa-da9f77622554</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>98113853-ed79-41a5-b2fe-329c106e1d26</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>5e0eafed-3949-4b45-9ccb-b73151faef39</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>541a3c04-7f7c-45f3-85da-7f5a7caefeba</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>5e0eafed-3949-4b45-9ccb-b73151faef39</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>541a3c04-7f7c-45f3-85da-7f5a7caefeba</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>92e089d1-3c34-442a-9344-7f1bbd8d6ae5</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>87228879-8544-495e-b707-fd1350594835</ID>
<Length>1</Length>
<LevelId>e2fe597d-1ebd-45a7-b0d5-ecc35600f26c</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>919a0e37-4714-4853-8c87-98ed4706e7c7</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>58406375-f462-4a0f-bff7-18f66725e0b4</TempBayId>
<TempLevelId>d800fde8-4345-43a8-b3f9-92b04382e5a1</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>92e089d1-3c34-442a-9344-7f1bbd8d6ae5</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>87228879-8544-495e-b707-fd1350594835</ID>
<Length>1</Length>
<LevelId>e2fe597d-1ebd-45a7-b0d5-ecc35600f26c</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>919a0e37-4714-4853-8c87-98ed4706e7c7</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>58406375-f462-4a0f-bff7-18f66725e0b4</TempBayId>
<TempLevelId>d800fde8-4345-43a8-b3f9-92b04382e5a1</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":"98113853-ed79-41a5-b2fe-329c106e1d26","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"15c7bf27-3783-4dd9-974d-32b9c9ede043","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"61bd9540-eeb0-4c9f-ab26-23217fdb2ba0","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":"110042b7-d752-4747-94aa-da9f77622554","SequenceNo":6},{"ID":"61bd9540-eeb0-4c9f-ab26-23217fdb2ba0","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":"110042b7-d752-4747-94aa-da9f77622554","SequenceNo":6}],"Levels":[{"ID":"5e0eafed-3949-4b45-9ccb-b73151faef39","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":"541a3c04-7f7c-45f3-85da-7f5a7caefeba","SequenceNo":6},{"ID":"5e0eafed-3949-4b45-9ccb-b73151faef39","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":"541a3c04-7f7c-45f3-85da-7f5a7caefeba","SequenceNo":6}],"Positions":[{"ID":"87228879-8544-495e-b707-fd1350594835","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"919a0e37-4714-4853-8c87-98ed4706e7c7","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"58406375-f462-4a0f-bff7-18f66725e0b4","TempLevelId":"d800fde8-4345-43a8-b3f9-92b04382e5a1","BayId":"92e089d1-3c34-442a-9344-7f1bbd8d6ae5","LevelId":"e2fe597d-1ebd-45a7-b0d5-ecc35600f26c","SubPositionOrder":7},{"ID":"87228879-8544-495e-b707-fd1350594835","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"919a0e37-4714-4853-8c87-98ed4706e7c7","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"58406375-f462-4a0f-bff7-18f66725e0b4","TempLevelId":"d800fde8-4345-43a8-b3f9-92b04382e5a1","BayId":"92e089d1-3c34-442a-9344-7f1bbd8d6ae5","LevelId":"e2fe597d-1ebd-45a7-b0d5-ecc35600f26c","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.