Room Attributes
All Attributes
GET
/api/v1/generic-api-service/content/list-rooms/ATTRIBUTE_ALL
All hotel facilities can be retrieved via this service endpoint.
Room Types
GET
/api/v1/generic-api-service/content/list-rooms/ATTRIBUTE_PARENT_ROOM_TYPE
This service returns room attributes in the ROOM TYPES category
Room Views
GET
/api/v1/generic-api-service/content/list-rooms/ATTRIBUTE_PARENT_ROOM_VIEWS
This service returns room attributes in the ROOM VIEWS category
Room Speciality
GET
/api/v1/generic-api-service/content/list-rooms/ATTRIBUTE_PARENT_ROOM_SPECIALITY
This service returns room attributes in the ROOM SPECIALITY category
Room Bed Types
GET
/api/v1/generic-api-service/content/list-rooms/ATTRIBUTE_PARENT_ROOM_BED_TYPES
This service returns room attributes in the BED TYPES category
Request & Response Details
- Query Details
- Request
- Response
- Response Details
Name | Type | Required | Description |
---|---|---|---|
page | int | No | Pagination offset. Integer starting at 0. |
size | int | No | The number of hotels is requested response. |
/// no request parameter required
{
"totalCount": 1721,
"pageSize": 2,
"attributes": [
{
"id": "9352",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "Havuzsuz",
"description": {
"RUSSIAN": null,
"ENGLISH": null,
"TURKISH": "Havuzsuz",
"FRENCH": null,
"GERMAN": null
}
},
{
"id": "8163",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "Two Single Beds",
"description": {
"RUSSIAN": null,
"ENGLISH": "Two Single Beds",
"TURKISH": "İki Tek Kişilik Yataklı",
"FRENCH": null,
"GERMAN": null
}
},
{
"id": "8157",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "With Shower Cabin",
"description": {
"RUSSIAN": null,
"ENGLISH": "With Shower Cabin",
"TURKISH": "Duşa Kabinli",
"FRENCH": null,
"GERMAN": null
}
},
{
"id": "8154",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "Beach Garden Floor and Without Balcony",
"description": {
"RUSSIAN": null,
"ENGLISH": "Beach Garden Floor and Without Balcony",
"TURKISH": "Plaj Bahçe Katı ve Balkonsuz",
"FRENCH": null,
"GERMAN": null
}
},
{
"id": "8277",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "Hot Spring Water in the Room",
"description": {
"RUSSIAN": null,
"ENGLISH": "Hot Spring Water in the Room",
"TURKISH": "Oda İçerisinde Kaplıca Suyu",
"FRENCH": null,
"GERMAN": null
}
},
{
"id": "8278",
"parentId": 2724,
"parentName": "SPECIALITY",
"name": "Garden Jacuzzi & Hot Spring Water in the Room",
"description": {
"RUSSIAN": null,
"ENGLISH": "Garden Jacuzzi & Hot Spring Water in the Room",
"TURKISH": "Bahçe Jakuzi & Oda İçerisinde Kaplıca Suyu",
"FRENCH": null,
"GERMAN": null
}
}
]
}
Name | Type | Required | Description |
---|---|---|---|
totalCount | int | Yes | The total number of room attributes. |
pageSize | int | Yes | The number of page size. |
attributes | object-array | Yes | Room attribute list. |
attributes/id | int | Yes | Attribute id. |
attributes/parentId | int | Yes | Parent id the attribute belongs to. |
attributes/parentName | string | Yes | Parent id the attribute belongs to. |
attributes/name | string | Yes | Attribute name. |
attributes/description/RUSSIAN | string | Yes | It means the Russian language translation of the room attribute |
attributes/description/ENGLISH | string | Yes | It means the English language translation of the room attribute |
attributes/description/TURKISH | string | Yes | It means the Turkish language translation of the room attribute |
attributes/description/FRENCH | string | Yes | It means the French language translation of the room attribute |
attributes/description/GERMAN | string | Yes | It means the German language translation of the room attribute |