POST api/SetLockerConfig
Request Information
URI Parameters
None.
Body Parameters
LockerConfig| Name | Description | Type | Additional information |
|---|---|---|---|
| LockerKey | string |
None. |
|
| NumDoors | integer |
None. |
|
| DoorsConfig | Collection of DoorConfig |
None. |
Request Formats
application/json, text/json
Sample:
{
"LockerKey": "sample string 1",
"NumDoors": 2,
"DoorsConfig": [
{
"Number": 1,
"Size": 2,
"Status": 3
},
{
"Number": 1,
"Size": 2,
"Status": 3
}
]
}
application/xml, text/xml
Sample:
<LockerManager.LockerConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO.SmartLockers.WEB.Framework">
<DoorsConfig>
<LockerManager.LockerConfig.DoorConfig>
<Number>1</Number>
<Size>2</Size>
<Status>3</Status>
</LockerManager.LockerConfig.DoorConfig>
<LockerManager.LockerConfig.DoorConfig>
<Number>1</Number>
<Size>2</Size>
<Status>3</Status>
</LockerManager.LockerConfig.DoorConfig>
</DoorsConfig>
<LockerKey>sample string 1</LockerKey>
<NumDoors>2</NumDoors>
</LockerManager.LockerConfig>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.