POST api/Locations/SaveArea

Request Information

URI Parameters

None.

Body Parameters

Collection of LocationAreaInputModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

SequenceName

string

None.

Name

string

None.

Status

integer

None.

ParentAreaId

globally unique identifier

None.

Length

decimal number

None.

Width

decimal number

None.

DepartmentId

integer

None.

CustomerId

integer

None.

Description

string

None.

PrefixId

integer

None.

WarehouseId

integer

None.

StatusId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": "fdf71fe0-8e35-459e-9c4b-202921df7404",
    "SequenceName": "sample string 2",
    "Name": "sample string 3",
    "Status": 4,
    "ParentAreaId": "5dc50b91-561f-4689-8f12-234d50835199",
    "Length": 5.0,
    "Width": 6.0,
    "DepartmentId": 7,
    "CustomerId": 8,
    "Description": "sample string 9",
    "PrefixId": 10,
    "WarehouseId": 11,
    "StatusId": 12
  },
  {
    "ID": "fdf71fe0-8e35-459e-9c4b-202921df7404",
    "SequenceName": "sample string 2",
    "Name": "sample string 3",
    "Status": 4,
    "ParentAreaId": "5dc50b91-561f-4689-8f12-234d50835199",
    "Length": 5.0,
    "Width": 6.0,
    "DepartmentId": 7,
    "CustomerId": 8,
    "Description": "sample string 9",
    "PrefixId": 10,
    "WarehouseId": 11,
    "StatusId": 12
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationAreaInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <LocationAreaInputModel>
    <CustomerId>8</CustomerId>
    <DepartmentId>7</DepartmentId>
    <Description>sample string 9</Description>
    <ID>fdf71fe0-8e35-459e-9c4b-202921df7404</ID>
    <Length>5</Length>
    <Name>sample string 3</Name>
    <ParentAreaId>5dc50b91-561f-4689-8f12-234d50835199</ParentAreaId>
    <PrefixId>10</PrefixId>
    <SequenceName>sample string 2</SequenceName>
    <Status>4</Status>
    <StatusId>12</StatusId>
    <WarehouseId>11</WarehouseId>
    <Width>6</Width>
  </LocationAreaInputModel>
  <LocationAreaInputModel>
    <CustomerId>8</CustomerId>
    <DepartmentId>7</DepartmentId>
    <Description>sample string 9</Description>
    <ID>fdf71fe0-8e35-459e-9c4b-202921df7404</ID>
    <Length>5</Length>
    <Name>sample string 3</Name>
    <ParentAreaId>5dc50b91-561f-4689-8f12-234d50835199</ParentAreaId>
    <PrefixId>10</PrefixId>
    <SequenceName>sample string 2</SequenceName>
    <Status>4</Status>
    <StatusId>12</StatusId>
    <WarehouseId>11</WarehouseId>
    <Width>6</Width>
  </LocationAreaInputModel>
</ArrayOfLocationAreaInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
[{"ID":"fdf71fe0-8e35-459e-9c4b-202921df7404","SequenceName":"sample string 2","Name":"sample string 3","Status":4,"ParentAreaId":"5dc50b91-561f-4689-8f12-234d50835199","Length":5.0,"Width":6.0,"DepartmentId":7,"CustomerId":8,"Description":"sample string 9","PrefixId":10,"WarehouseId":11,"StatusId":12},{"ID":"fdf71fe0-8e35-459e-9c4b-202921df7404","SequenceName":"sample string 2","Name":"sample string 3","Status":4,"ParentAreaId":"5dc50b91-561f-4689-8f12-234d50835199","Length":5.0,"Width":6.0,"DepartmentId":7,"CustomerId":8,"Description":"sample string 9","PrefixId":10,"WarehouseId":11,"StatusId":12}]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.