GET api/VenueSetting/GetRoomResources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
RoomResourcesView| Name | Description | Type | Additional information |
|---|---|---|---|
| Capacities | Collection of BaseKeyNumber |
None. |
|
| Amenitys | Collection of BaseKeyCategory |
None. |
|
| RoomRateType | Collection of RoomRateView |
None. |
Response Formats
application/json, text/json
Sample:
{
"capacities": [
{
"id": 1,
"name": "sample string 2",
"value": 1.1
},
{
"id": 1,
"name": "sample string 2",
"value": 1.1
}
],
"amenitys": [
{
"id": 1,
"category": "sample string 2",
"items": [
{
"id": 1,
"value": "sample string 2"
},
{
"id": 1,
"value": "sample string 2"
}
]
},
{
"id": 1,
"category": "sample string 2",
"items": [
{
"id": 1,
"value": "sample string 2"
},
{
"id": 1,
"value": "sample string 2"
}
]
}
],
"roomRateType": [
{
"id": 1,
"typeId": 2,
"typeName": "sample string 3",
"rate": 1.1,
"exemptSpend": 1.1
},
{
"id": 1,
"typeId": 2,
"typeName": "sample string 3",
"rate": 1.1,
"exemptSpend": 1.1
}
]
}
text/html
Sample:
{"capacities":[{"id":1,"name":"sample string 2","value":1.1},{"id":1,"name":"sample string 2","value":1.1}],"amenitys":[{"id":1,"category":"sample string 2","items":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}]},{"id":1,"category":"sample string 2","items":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}]}],"roomRateType":[{"id":1,"typeId":2,"typeName":"sample string 3","rate":1.1,"exemptSpend":1.1},{"id":1,"typeId":2,"typeName":"sample string 3","rate":1.1,"exemptSpend":1.1}]}
application/xml, text/xml
Sample:
<RoomResourcesView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
<Amenitys xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
<d2p1:BaseKeyCategory>
<d2p1:Category>sample string 2</d2p1:Category>
<d2p1:Id>1</d2p1:Id>
<d2p1:Items>
<d2p1:BaseKeyPair>
<d2p1:Id>1</d2p1:Id>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:BaseKeyPair>
<d2p1:BaseKeyPair>
<d2p1:Id>1</d2p1:Id>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:BaseKeyPair>
</d2p1:Items>
</d2p1:BaseKeyCategory>
<d2p1:BaseKeyCategory>
<d2p1:Category>sample string 2</d2p1:Category>
<d2p1:Id>1</d2p1:Id>
<d2p1:Items>
<d2p1:BaseKeyPair>
<d2p1:Id>1</d2p1:Id>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:BaseKeyPair>
<d2p1:BaseKeyPair>
<d2p1:Id>1</d2p1:Id>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:BaseKeyPair>
</d2p1:Items>
</d2p1:BaseKeyCategory>
</Amenitys>
<Capacities xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models">
<d2p1:BaseKeyNumber>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Value>1.1</d2p1:Value>
</d2p1:BaseKeyNumber>
<d2p1:BaseKeyNumber>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Value>1.1</d2p1:Value>
</d2p1:BaseKeyNumber>
</Capacities>
<RoomRateType>
<RoomRateView>
<ExemptSpend>1.1</ExemptSpend>
<Id>1</Id>
<Rate>1.1</Rate>
<TypeId>2</TypeId>
<TypeName>sample string 3</TypeName>
</RoomRateView>
<RoomRateView>
<ExemptSpend>1.1</ExemptSpend>
<Id>1</Id>
<Rate>1.1</Rate>
<TypeId>2</TypeId>
<TypeName>sample string 3</TypeName>
</RoomRateView>
</RoomRateType>
</RoomResourcesView>