GET api/v{version}/laundry/listallrooms
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version |
The requested API version |
string |
Required Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Collection of LaundryLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| laundryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"laundryCode": "sample string 2"
},
{
"name": "sample string 1",
"laundryCode": "sample string 2"
}
]
text/javascript
Sample:
[{"name":"sample string 1","laundryCode":"sample string 2"},{"name":"sample string 1","laundryCode":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfLaundryLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.Laundry">
<LaundryLocation>
<laundryCode>sample string 2</laundryCode>
<name>sample string 1</name>
</LaundryLocation>
<LaundryLocation>
<laundryCode>sample string 2</laundryCode>
<name>sample string 1</name>
</LaundryLocation>
</ArrayOfLaundryLocation>