Skip to main content

GET /v1.1/facility

Returns a paginated list of all cabin facility descriptions, with their related company data included.

Request

GET /v1.1/facility

Query Parameters

ParameterTypeDefaultDescription
page[number]integer1Page number (one-indexed)
page[size]integer10Items per page (max 1000)

Example Request

curl -X GET "https://api.rccl.ro/v1.1/facility?page[number]=1&page[size]=10" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns an array of facility resources with related company objects included.

Response body:

{
"data": [
{
"type": "facility",
"id": "1a3f91fe-ad97-397b-9a96-d6104ad339f6",
"attributes": {
"title": "CELEBRITY CRUISES - CABINE CU BALCON CONCIERGE CLASS",
"description": "<h4><b>Cabinele cu balcon CONCIERGE CLASS® includ urmatoarele facilitati</b>:</h4>..."
},
"relationships": {
"company": {
"links": {
"related": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
},
"data": {
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
},
"links": {
"self": "/v1.1/facility/1a3f91fe-ad97-397b-9a96-d6104ad339f6"
}
},
{
"type": "facility",
"id": "2912eb1f-d9c2-3a37-91be-b36b724db541",
"attributes": {
"title": "CELEBRITY CRUISES - APARTAMENTE GALAPAGOS FLORA",
"description": "<h4><b>Apartamentele de pe mega-iahtul Celebrity Flora includ urmatoarele facilitati si beneficii:</b></h4>..."
},
"relationships": {
"company": {
"links": {
"related": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
},
"data": {
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
},
"links": {
"self": "/v1.1/facility/2912eb1f-d9c2-3a37-91be-b36b724db541"
}
}
],
"links": {
"self": "/v1.1/facility",
"first": "/v1.1/facility?page[number]=1&page[size]=10",
"next": "/v1.1/facility?page[number]=2&page[size]=10"
},
"meta": {
"count": 23
},
"included": [
{
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03",
"attributes": {
"code": "CEL",
"title": "Celebrity Cruises®",
"description": "Celebrity Cruises® este o companie premium de croaziere..."
},
"links": {
"self": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
],
"jsonapi": {
"version": "1.0"
}
}

Facility Attributes

FieldTypeDescription
titlestringFacility title
descriptionstringFacility description (HTML)

Relationships

RelationshipTypeDescription
companycompanyThe cruise line this facility belongs to

Included Resources

The response includes related company objects. See GET /v1.1/company for company attribute details.

Error Responses

StatusDescription
401Unauthorized — missing or invalid API key
500Internal Server Error — upstream query failure