POST api/Locations/SaveArea
Request Information
URI Parameters
None.
Body Parameters
Collection of LocationAreaInputModel| Name | Description | Type | Additional 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": "f0950a73-ac5d-43e2-86c0-9b17f3c62bc1",
"SequenceName": "sample string 2",
"Name": "sample string 3",
"Status": 4,
"ParentAreaId": "1afe2e64-4c04-4557-b676-a87c12d27ad6",
"Length": 5.0,
"Width": 6.0,
"DepartmentId": 7,
"CustomerId": 8,
"Description": "sample string 9",
"PrefixId": 10,
"WarehouseId": 11,
"StatusId": 12
},
{
"ID": "f0950a73-ac5d-43e2-86c0-9b17f3c62bc1",
"SequenceName": "sample string 2",
"Name": "sample string 3",
"Status": 4,
"ParentAreaId": "1afe2e64-4c04-4557-b676-a87c12d27ad6",
"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>f0950a73-ac5d-43e2-86c0-9b17f3c62bc1</ID>
<Length>5</Length>
<Name>sample string 3</Name>
<ParentAreaId>1afe2e64-4c04-4557-b676-a87c12d27ad6</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>f0950a73-ac5d-43e2-86c0-9b17f3c62bc1</ID>
<Length>5</Length>
<Name>sample string 3</Name>
<ParentAreaId>1afe2e64-4c04-4557-b676-a87c12d27ad6</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":"f0950a73-ac5d-43e2-86c0-9b17f3c62bc1","SequenceName":"sample string 2","Name":"sample string 3","Status":4,"ParentAreaId":"1afe2e64-4c04-4557-b676-a87c12d27ad6","Length":5.0,"Width":6.0,"DepartmentId":7,"CustomerId":8,"Description":"sample string 9","PrefixId":10,"WarehouseId":11,"StatusId":12},{"ID":"f0950a73-ac5d-43e2-86c0-9b17f3c62bc1","SequenceName":"sample string 2","Name":"sample string 3","Status":4,"ParentAreaId":"1afe2e64-4c04-4557-b676-a87c12d27ad6","Length":5.0,"Width":6.0,"DepartmentId":7,"CustomerId":8,"Description":"sample string 9","PrefixId":10,"WarehouseId":11,"StatusId":12}]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.