GET api/admin/RoomTypes/RoomTypePaged?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| SearchTerm | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfApplicationRoomTypePagedDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | ApplicationRoomTypePagedDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {
"RoomTypes": [
{
"RoomTypeID": 1,
"RoomTypeName": "sample string 1"
},
{
"RoomTypeID": 1,
"RoomTypeName": "sample string 1"
}
],
"TotalRecords": 1
}
}
application/xml, text/xml
Sample:
<ApiResponseOfApplicationRoomTypePagedDTOTtyOigqL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
<Data>
<RoomTypes>
<ApplicationRoomTypesGetDTO>
<RoomTypeID>1</RoomTypeID>
<RoomTypeName>sample string 1</RoomTypeName>
</ApplicationRoomTypesGetDTO>
<ApplicationRoomTypesGetDTO>
<RoomTypeID>1</RoomTypeID>
<RoomTypeName>sample string 1</RoomTypeName>
</ApplicationRoomTypesGetDTO>
</RoomTypes>
<TotalRecords>1</TotalRecords>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfApplicationRoomTypePagedDTOTtyOigqL>