POST api/Locations/EditRow

Request Information

URI Parameters

None.

Body Parameters

LocationRowInputModel
NameDescriptionTypeAdditional 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": "8efaeb46-1964-4739-9a40-669687de3102",
  "SequenceName": "sample string 2",
  "PrefixId": 1,
  "Name": "sample string 3",
  "StatusId": 1,
  "WarehouseId": 1,
  "AreaId": "2da97fdf-23c3-4df3-b4c3-028714972788",
  "Length": 1.0,
  "Width": 1.0,
  "DepartmentId": 1,
  "CustomerId": 1,
  "Description": "sample string 4",
  "Bays": [
    {
      "ID": "5519a98b-d1d8-4a21-a45f-858672a454cd",
      "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": "0a3bfafc-a194-4b05-9e5f-ac66f09bd425",
      "SequenceNo": 6
    },
    {
      "ID": "5519a98b-d1d8-4a21-a45f-858672a454cd",
      "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": "0a3bfafc-a194-4b05-9e5f-ac66f09bd425",
      "SequenceNo": 6
    }
  ],
  "Levels": [
    {
      "ID": "8291a4d2-5f0b-4e27-96d8-695614bc1579",
      "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": "097f8e72-d38f-46c5-b863-28a873f1ea8f",
      "SequenceNo": 6
    },
    {
      "ID": "8291a4d2-5f0b-4e27-96d8-695614bc1579",
      "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": "097f8e72-d38f-46c5-b863-28a873f1ea8f",
      "SequenceNo": 6
    }
  ],
  "Positions": [
    {
      "ID": "190391a9-d75d-4e55-8975-ac7b56b9b9ac",
      "SequenceName": "sample string 2",
      "PrefixId": 1,
      "Name": "sample string 3",
      "StatusId": 1,
      "RowId": "12c02c33-b507-4506-99b3-c3e1d042de4d",
      "Length": 1.0,
      "Width": 1.0,
      "Height": 1.0,
      "MaxWeight": 1.0,
      "CustomerId": 1,
      "Description": "sample string 4",
      "TempBayId": "677cbb11-62cb-488a-ae96-cfd18d88cf35",
      "TempLevelId": "057a69e2-d32a-463e-afed-037764d858c3",
      "BayId": "8045f0ba-9687-4d57-a324-be1c029e2acb",
      "LevelId": "151595ff-9e08-47f8-8169-12b3b647639a",
      "SubPositionOrder": 7
    },
    {
      "ID": "190391a9-d75d-4e55-8975-ac7b56b9b9ac",
      "SequenceName": "sample string 2",
      "PrefixId": 1,
      "Name": "sample string 3",
      "StatusId": 1,
      "RowId": "12c02c33-b507-4506-99b3-c3e1d042de4d",
      "Length": 1.0,
      "Width": 1.0,
      "Height": 1.0,
      "MaxWeight": 1.0,
      "CustomerId": 1,
      "Description": "sample string 4",
      "TempBayId": "677cbb11-62cb-488a-ae96-cfd18d88cf35",
      "TempLevelId": "057a69e2-d32a-463e-afed-037764d858c3",
      "BayId": "8045f0ba-9687-4d57-a324-be1c029e2acb",
      "LevelId": "151595ff-9e08-47f8-8169-12b3b647639a",
      "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>2da97fdf-23c3-4df3-b4c3-028714972788</AreaId>
  <Bays>
    <LocationBayInputModel>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>5519a98b-d1d8-4a21-a45f-858672a454cd</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>0a3bfafc-a194-4b05-9e5f-ac66f09bd425</TempBayId>
      <Width>1</Width>
    </LocationBayInputModel>
    <LocationBayInputModel>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>5519a98b-d1d8-4a21-a45f-858672a454cd</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>0a3bfafc-a194-4b05-9e5f-ac66f09bd425</TempBayId>
      <Width>1</Width>
    </LocationBayInputModel>
  </Bays>
  <CustomerId>1</CustomerId>
  <DepartmentId>1</DepartmentId>
  <Description>sample string 4</Description>
  <Height>1</Height>
  <ID>8efaeb46-1964-4739-9a40-669687de3102</ID>
  <Length>1</Length>
  <Levels>
    <LocationLevelInputModel>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>8291a4d2-5f0b-4e27-96d8-695614bc1579</ID>
      <Length>1</Length>
      <Name>sample string 3</Name>
      <PrefixId>1</PrefixId>
      <SequenceName>sample string 2</SequenceName>
      <SequenceNo>6</SequenceNo>
      <StatusId>1</StatusId>
      <TempLevelId>097f8e72-d38f-46c5-b863-28a873f1ea8f</TempLevelId>
      <Width>1</Width>
    </LocationLevelInputModel>
    <LocationLevelInputModel>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>8291a4d2-5f0b-4e27-96d8-695614bc1579</ID>
      <Length>1</Length>
      <Name>sample string 3</Name>
      <PrefixId>1</PrefixId>
      <SequenceName>sample string 2</SequenceName>
      <SequenceNo>6</SequenceNo>
      <StatusId>1</StatusId>
      <TempLevelId>097f8e72-d38f-46c5-b863-28a873f1ea8f</TempLevelId>
      <Width>1</Width>
    </LocationLevelInputModel>
  </Levels>
  <Name>sample string 3</Name>
  <Positions>
    <LocationPositionInputModel>
      <BayId>8045f0ba-9687-4d57-a324-be1c029e2acb</BayId>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>190391a9-d75d-4e55-8975-ac7b56b9b9ac</ID>
      <Length>1</Length>
      <LevelId>151595ff-9e08-47f8-8169-12b3b647639a</LevelId>
      <MaxWeight>1</MaxWeight>
      <Name>sample string 3</Name>
      <PrefixId>1</PrefixId>
      <RowId>12c02c33-b507-4506-99b3-c3e1d042de4d</RowId>
      <SequenceName>sample string 2</SequenceName>
      <StatusId>1</StatusId>
      <SubPositionOrder>7</SubPositionOrder>
      <TempBayId>677cbb11-62cb-488a-ae96-cfd18d88cf35</TempBayId>
      <TempLevelId>057a69e2-d32a-463e-afed-037764d858c3</TempLevelId>
      <Width>1</Width>
    </LocationPositionInputModel>
    <LocationPositionInputModel>
      <BayId>8045f0ba-9687-4d57-a324-be1c029e2acb</BayId>
      <CustomerId>1</CustomerId>
      <Description>sample string 4</Description>
      <Height>1</Height>
      <ID>190391a9-d75d-4e55-8975-ac7b56b9b9ac</ID>
      <Length>1</Length>
      <LevelId>151595ff-9e08-47f8-8169-12b3b647639a</LevelId>
      <MaxWeight>1</MaxWeight>
      <Name>sample string 3</Name>
      <PrefixId>1</PrefixId>
      <RowId>12c02c33-b507-4506-99b3-c3e1d042de4d</RowId>
      <SequenceName>sample string 2</SequenceName>
      <StatusId>1</StatusId>
      <SubPositionOrder>7</SubPositionOrder>
      <TempBayId>677cbb11-62cb-488a-ae96-cfd18d88cf35</TempBayId>
      <TempLevelId>057a69e2-d32a-463e-afed-037764d858c3</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":"8efaeb46-1964-4739-9a40-669687de3102","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"WarehouseId":1,"AreaId":"2da97fdf-23c3-4df3-b4c3-028714972788","Length":1.0,"Width":1.0,"DepartmentId":1,"CustomerId":1,"Description":"sample string 4","Bays":[{"ID":"5519a98b-d1d8-4a21-a45f-858672a454cd","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":"0a3bfafc-a194-4b05-9e5f-ac66f09bd425","SequenceNo":6},{"ID":"5519a98b-d1d8-4a21-a45f-858672a454cd","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":"0a3bfafc-a194-4b05-9e5f-ac66f09bd425","SequenceNo":6}],"Levels":[{"ID":"8291a4d2-5f0b-4e27-96d8-695614bc1579","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":"097f8e72-d38f-46c5-b863-28a873f1ea8f","SequenceNo":6},{"ID":"8291a4d2-5f0b-4e27-96d8-695614bc1579","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":"097f8e72-d38f-46c5-b863-28a873f1ea8f","SequenceNo":6}],"Positions":[{"ID":"190391a9-d75d-4e55-8975-ac7b56b9b9ac","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"12c02c33-b507-4506-99b3-c3e1d042de4d","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"677cbb11-62cb-488a-ae96-cfd18d88cf35","TempLevelId":"057a69e2-d32a-463e-afed-037764d858c3","BayId":"8045f0ba-9687-4d57-a324-be1c029e2acb","LevelId":"151595ff-9e08-47f8-8169-12b3b647639a","SubPositionOrder":7},{"ID":"190391a9-d75d-4e55-8975-ac7b56b9b9ac","SequenceName":"sample string 2","PrefixId":1,"Name":"sample string 3","StatusId":1,"RowId":"12c02c33-b507-4506-99b3-c3e1d042de4d","Length":1.0,"Width":1.0,"Height":1.0,"MaxWeight":1.0,"CustomerId":1,"Description":"sample string 4","TempBayId":"677cbb11-62cb-488a-ae96-cfd18d88cf35","TempLevelId":"057a69e2-d32a-463e-afed-037764d858c3","BayId":"8045f0ba-9687-4d57-a324-be1c029e2acb","LevelId":"151595ff-9e08-47f8-8169-12b3b647639a","SubPositionOrder":7}],"Height":1.0}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.