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": "df6f3ed1-e566-426c-b47e-da40da1b281c",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"WarehouseId": 1,
"AreaId": "b94f050e-6422-4182-ba2f-8c7b19f703a7",
"Length": 1.0,
"Width": 1.0,
"DepartmentId": 1,
"CustomerId": 1,
"Description": "sample string 4",
"Bays": [
{
"ID": "07e01797-06d1-4ab5-b0ae-b1386408df6b",
"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": "d12cb843-b29f-4605-b1a3-ad4754f7a0ce",
"SequenceNo": 6
},
{
"ID": "07e01797-06d1-4ab5-b0ae-b1386408df6b",
"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": "d12cb843-b29f-4605-b1a3-ad4754f7a0ce",
"SequenceNo": 6
}
],
"Levels": [
{
"ID": "aa2bf5a5-d225-4139-999c-aa49b796366b",
"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": "43116fae-4db9-4247-adde-5f0bc29c9a8d",
"SequenceNo": 6
},
{
"ID": "aa2bf5a5-d225-4139-999c-aa49b796366b",
"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": "43116fae-4db9-4247-adde-5f0bc29c9a8d",
"SequenceNo": 6
}
],
"Positions": [
{
"ID": "179d392e-b77b-42d1-9de3-de5ee6a4d184",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "e4c91542-17ea-47bb-a5aa-2b78d55e7598",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "62795cfa-a410-4eda-af9d-802e87847041",
"TempLevelId": "ec3e1afc-fa58-4214-8522-928328fb8a86",
"BayId": "c8c0be78-d4b3-4019-9447-10cba0687156",
"LevelId": "7c0aa892-3573-4b9f-b785-1ecfc6222991",
"SubPositionOrder": 7
},
{
"ID": "179d392e-b77b-42d1-9de3-de5ee6a4d184",
"SequenceName": "sample string 2",
"PrefixId": 1,
"Name": "sample string 3",
"StatusId": 1,
"RowId": "e4c91542-17ea-47bb-a5aa-2b78d55e7598",
"Length": 1.0,
"Width": 1.0,
"Height": 1.0,
"MaxWeight": 1.0,
"CustomerId": 1,
"Description": "sample string 4",
"TempBayId": "62795cfa-a410-4eda-af9d-802e87847041",
"TempLevelId": "ec3e1afc-fa58-4214-8522-928328fb8a86",
"BayId": "c8c0be78-d4b3-4019-9447-10cba0687156",
"LevelId": "7c0aa892-3573-4b9f-b785-1ecfc6222991",
"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>b94f050e-6422-4182-ba2f-8c7b19f703a7</AreaId>
<Bays>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>07e01797-06d1-4ab5-b0ae-b1386408df6b</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>d12cb843-b29f-4605-b1a3-ad4754f7a0ce</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
<LocationBayInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>07e01797-06d1-4ab5-b0ae-b1386408df6b</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>d12cb843-b29f-4605-b1a3-ad4754f7a0ce</TempBayId>
<Width>1</Width>
</LocationBayInputModel>
</Bays>
<CustomerId>1</CustomerId>
<DepartmentId>1</DepartmentId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>df6f3ed1-e566-426c-b47e-da40da1b281c</ID>
<Length>1</Length>
<Levels>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>aa2bf5a5-d225-4139-999c-aa49b796366b</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>43116fae-4db9-4247-adde-5f0bc29c9a8d</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
<LocationLevelInputModel>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>aa2bf5a5-d225-4139-999c-aa49b796366b</ID>
<Length>1</Length>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<SequenceName>sample string 2</SequenceName>
<SequenceNo>6</SequenceNo>
<StatusId>1</StatusId>
<TempLevelId>43116fae-4db9-4247-adde-5f0bc29c9a8d</TempLevelId>
<Width>1</Width>
</LocationLevelInputModel>
</Levels>
<Name>sample string 3</Name>
<Positions>
<LocationPositionInputModel>
<BayId>c8c0be78-d4b3-4019-9447-10cba0687156</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>179d392e-b77b-42d1-9de3-de5ee6a4d184</ID>
<Length>1</Length>
<LevelId>7c0aa892-3573-4b9f-b785-1ecfc6222991</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>e4c91542-17ea-47bb-a5aa-2b78d55e7598</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>62795cfa-a410-4eda-af9d-802e87847041</TempBayId>
<TempLevelId>ec3e1afc-fa58-4214-8522-928328fb8a86</TempLevelId>
<Width>1</Width>
</LocationPositionInputModel>
<LocationPositionInputModel>
<BayId>c8c0be78-d4b3-4019-9447-10cba0687156</BayId>
<CustomerId>1</CustomerId>
<Description>sample string 4</Description>
<Height>1</Height>
<ID>179d392e-b77b-42d1-9de3-de5ee6a4d184</ID>
<Length>1</Length>
<LevelId>7c0aa892-3573-4b9f-b785-1ecfc6222991</LevelId>
<MaxWeight>1</MaxWeight>
<Name>sample string 3</Name>
<PrefixId>1</PrefixId>
<RowId>e4c91542-17ea-47bb-a5aa-2b78d55e7598</RowId>
<SequenceName>sample string 2</SequenceName>
<StatusId>1</StatusId>
<SubPositionOrder>7</SubPositionOrder>
<TempBayId>62795cfa-a410-4eda-af9d-802e87847041</TempBayId>
<TempLevelId>ec3e1afc-fa58-4214-8522-928328fb8a86</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":"df6f3ed1-e566-426c-b47e-da40da1b281c","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"b94f050e-6422-4182-ba2f-8c7b19f703a7","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"07e01797-06d1-4ab5-b0ae-b1386408df6b","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":"d12cb843-b29f-4605-b1a3-ad4754f7a0ce","SequenceNo":6},{"ID":"07e01797-06d1-4ab5-b0ae-b1386408df6b","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":"d12cb843-b29f-4605-b1a3-ad4754f7a0ce","SequenceNo":6}],"Levels":[{"ID":"aa2bf5a5-d225-4139-999c-aa49b796366b","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":"43116fae-4db9-4247-adde-5f0bc29c9a8d","SequenceNo":6},{"ID":"aa2bf5a5-d225-4139-999c-aa49b796366b","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":"43116fae-4db9-4247-adde-5f0bc29c9a8d","SequenceNo":6}],"Positions":[{"ID":"179d392e-b77b-42d1-9de3-de5ee6a4d184","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"e4c91542-17ea-47bb-a5aa-2b78d55e7598","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"62795cfa-a410-4eda-af9d-802e87847041","TempLevelId":"ec3e1afc-fa58-4214-8522-928328fb8a86","BayId":"c8c0be78-d4b3-4019-9447-10cba0687156","LevelId":"7c0aa892-3573-4b9f-b785-1ecfc6222991","SubPositionOrder":7},{"ID":"179d392e-b77b-42d1-9de3-de5ee6a4d184","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"e4c91542-17ea-47bb-a5aa-2b78d55e7598","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"62795cfa-a410-4eda-af9d-802e87847041","TempLevelId":"ec3e1afc-fa58-4214-8522-928328fb8a86","BayId":"c8c0be78-d4b3-4019-9447-10cba0687156","LevelId":"7c0aa892-3573-4b9f-b785-1ecfc6222991","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.