Skip to main content

GET /v1.1/stateroom_subcategory

Returns a paginated list of all stateroom subcategories, with related ship and facility data included.

Request​

GET /v1.1/stateroom_subcategory

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/stateroom_subcategory?page[number]=1&page[size]=10" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response​

200 OK​

Returns an array of stateroom subcategory resources with related objects included.

Response body:

{
"data": [
{
"type": "stateroom_subcategory",
"id": "001dccbf-46d0-3ad1-8b67-884dbf5dc10b",
"attributes": {
"code": "RS",
"color": "009884",
"title": "Apartament Royal",
"description": "Apartament elegant unde va puteti relaxa dupa o zi plina...",
"surface_area": 55,
"balcony_area": 14,
"image_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/2019/03/RF_Cabina_RS.jpg"
},
"relationships": {
"ship": {
"links": {
"related": "/v1.1/ship/3fe3de84-275c-3edc-995e-fff999764322"
},
"data": {
"type": "ship",
"id": "3fe3de84-275c-3edc-995e-fff999764322"
}
},
"facility": {
"links": {
"related": "/v1.1/facility/3147da8a-b4a0-337c-95ef-51a5cc7f2dc4"
},
"data": {
"type": "facility",
"id": "3147da8a-b4a0-337c-95ef-51a5cc7f2dc4"
}
}
},
"links": {
"self": "/v1.1/stateroom_subcategory/001dccbf-46d0-3ad1-8b67-884dbf5dc10b"
}
}
],
"links": {
"self": "/v1.1/stateroom_subcategory",
"first": "/v1.1/stateroom_subcategory?page[number]=1&page[size]=10",
"next": "/v1.1/stateroom_subcategory?page[number]=2&page[size]=10"
},
"meta": {
"count": 3873
},
"included": [
{
"type": "ship",
"id": "3fe3de84-275c-3edc-995e-fff999764322",
"attributes": {
"code": "RF",
"title": "Celebrity Reflection",
"description": "..."
},
"links": {
"self": "/v1.1/ship/3fe3de84-275c-3edc-995e-fff999764322"
}
},
{
"type": "facility",
"id": "3147da8a-b4a0-337c-95ef-51a5cc7f2dc4",
"attributes": {
"title": "CELEBRITY CRUISES - APARTAMENTE",
"description": "..."
},
"links": {
"self": "/v1.1/facility/3147da8a-b4a0-337c-95ef-51a5cc7f2dc4"
}
}
],
"jsonapi": {
"version": "1.0"
}
}

Stateroom Subcategory Attributes​

FieldTypeDescription
codestringSubcategory code
colorstringDisplay color (hex without #)
titlestringSubcategory name
descriptionstringSubcategory description
surface_areanumberCabin surface area in m²
balcony_areanumberBalcony area in m²
image_urlstringSubcategory image URL

Relationships​

RelationshipTypeDescription
shipshipThe ship this subcategory is available on
facilityfacilityThe facility group this subcategory belongs to

Included Resources​

The response includes related ship and facility objects.

Error Responses​

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