Skip to main content

GET /v1.1/stateroom_subcategory/:id

Returns a single stateroom subcategory by its ID, with related ship and facility data included.

Request​

GET /v1.1/stateroom_subcategory/:id

URL Parameters​

ParameterTypeRequiredDescription
idstringYesThe stateroom subcategory ID

Example Request​

curl -X GET "https://api.rccl.ro/v1.1/stateroom_subcategory/001dccbf-46d0-3ad1-8b67-884dbf5dc10b" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response​

200 OK​

Returns a single stateroom subcategory resource 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/001dccbf-46d0-3ad1-8b67-884dbf5dc10b"
},
"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 — stateroom subcategory not found or upstream query failure