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": "92d7df1e-9b3c-41ab-9c78-ba7d61e1384f",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "35c9cbbc-cfe9-4d60-b005-93129d37ef8a",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "ddda45db-3e9f-46b4-8758-5021bd8c2391",
"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": "40501baa-8d0e-4dc7-8041-554a6f8e61e6",
"SequenceNo": 6
},
{
"ID": "ddda45db-3e9f-46b4-8758-5021bd8c2391",
"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": "40501baa-8d0e-4dc7-8041-554a6f8e61e6",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "bd9e88cc-3932-4057-b6e2-857912eb9448",
"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": "60500bd0-bbab-46a6-8ae3-a3f29faf63e1",
"SequenceNo": 6
},
{
"ID": "bd9e88cc-3932-4057-b6e2-857912eb9448",
"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": "60500bd0-bbab-46a6-8ae3-a3f29faf63e1",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "f589c8ab-76c5-4461-aa72-c3fe0ec6971e",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "1ad5f974-eb53-40fd-8acb-91974a062904",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b",
"TempLevelId": "eb795451-0a86-4f4d-ae74-e9ea4da69774",
"BayId": "2dafa477-ad77-4bef-9012-7d7d70d38a52",
"LevelId": "2e6ae82d-6021-4522-b6c2-a436a092e6d9",
"SubPositionOrder": 7
},
{
"ID": "f589c8ab-76c5-4461-aa72-c3fe0ec6971e",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "1ad5f974-eb53-40fd-8acb-91974a062904",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b",
"TempLevelId": "eb795451-0a86-4f4d-ae74-e9ea4da69774",
"BayId": "2dafa477-ad77-4bef-9012-7d7d70d38a52",
"LevelId": "2e6ae82d-6021-4522-b6c2-a436a092e6d9",
"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>35c9cbbc-cfe9-4d60-b005-93129d37ef8a</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>ddda45db-3e9f-46b4-8758-5021bd8c2391</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>40501baa-8d0e-4dc7-8041-554a6f8e61e6</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>ddda45db-3e9f-46b4-8758-5021bd8c2391</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>40501baa-8d0e-4dc7-8041-554a6f8e61e6</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>92d7df1e-9b3c-41ab-9c78-ba7d61e1384f</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>bd9e88cc-3932-4057-b6e2-857912eb9448</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>60500bd0-bbab-46a6-8ae3-a3f29faf63e1</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>bd9e88cc-3932-4057-b6e2-857912eb9448</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>60500bd0-bbab-46a6-8ae3-a3f29faf63e1</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>2dafa477-ad77-4bef-9012-7d7d70d38a52</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>f589c8ab-76c5-4461-aa72-c3fe0ec6971e</ID>
<Length>1</Length>
<LevelId>2e6ae82d-6021-4522-b6c2-a436a092e6d9</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>1ad5f974-eb53-40fd-8acb-91974a062904</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b</TempBayId>
<TempLevelId>eb795451-0a86-4f4d-ae74-e9ea4da69774</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>2dafa477-ad77-4bef-9012-7d7d70d38a52</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>f589c8ab-76c5-4461-aa72-c3fe0ec6971e</ID>
<Length>1</Length>
<LevelId>2e6ae82d-6021-4522-b6c2-a436a092e6d9</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>1ad5f974-eb53-40fd-8acb-91974a062904</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b</TempBayId>
<TempLevelId>eb795451-0a86-4f4d-ae74-e9ea4da69774</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":"92d7df1e-9b3c-41ab-9c78-ba7d61e1384f","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"35c9cbbc-cfe9-4d60-b005-93129d37ef8a","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"ddda45db-3e9f-46b4-8758-5021bd8c2391","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":"40501baa-8d0e-4dc7-8041-554a6f8e61e6","SequenceNo":6},{"ID":"ddda45db-3e9f-46b4-8758-5021bd8c2391","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":"40501baa-8d0e-4dc7-8041-554a6f8e61e6","SequenceNo":6}],"Levels":[{"ID":"bd9e88cc-3932-4057-b6e2-857912eb9448","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":"60500bd0-bbab-46a6-8ae3-a3f29faf63e1","SequenceNo":6},{"ID":"bd9e88cc-3932-4057-b6e2-857912eb9448","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":"60500bd0-bbab-46a6-8ae3-a3f29faf63e1","SequenceNo":6}],"Positions":[{"ID":"f589c8ab-76c5-4461-aa72-c3fe0ec6971e","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"1ad5f974-eb53-40fd-8acb-91974a062904","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b","TempLevelId":"eb795451-0a86-4f4d-ae74-e9ea4da69774","BayId":"2dafa477-ad77-4bef-9012-7d7d70d38a52","LevelId":"2e6ae82d-6021-4522-b6c2-a436a092e6d9","SubPositionOrder":7},{"ID":"f589c8ab-76c5-4461-aa72-c3fe0ec6971e","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"1ad5f974-eb53-40fd-8acb-91974a062904","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"df1b5ef9-9c94-45bc-a0d2-24834d1ebc2b","TempLevelId":"eb795451-0a86-4f4d-ae74-e9ea4da69774","BayId":"2dafa477-ad77-4bef-9012-7d7d70d38a52","LevelId":"2e6ae82d-6021-4522-b6c2-a436a092e6d9","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.