GET api/applicant/Application/GetRoomTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfIEnumerableOfRoomTypesDD| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of RoomTypesDD |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": [
{
"RoomTypeID": 1,
"RoomTypeName": "sample string 2"
},
{
"RoomTypeID": 1,
"RoomTypeName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfArrayOfRoomTypesDDj_Pf0XX_P4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
<d2p1:RoomTypesDD>
<d2p1:RoomTypeID>1</d2p1:RoomTypeID>
<d2p1:RoomTypeName>sample string 2</d2p1:RoomTypeName>
</d2p1:RoomTypesDD>
<d2p1:RoomTypesDD>
<d2p1:RoomTypeID>1</d2p1:RoomTypeID>
<d2p1:RoomTypeName>sample string 2</d2p1:RoomTypeName>
</d2p1:RoomTypesDD>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfArrayOfRoomTypesDDj_Pf0XX_P4>