Skip to main content

GET /v1.1/shower/:id

Returns a single shower/bath type by its ID.

Request

GET /v1.1/shower/:id

URL Parameters

ParameterTypeRequiredDescription
idstringYesThe shower type ID

Example Request

curl -X GET "https://api.rccl.ro/v1.1/shower/5dbc98dc-c983-3707-a8bd-082d1a47546e" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns a single shower resource.

Response body:

{
"data": {
"type": "shower",
"id": "5dbc98dc-c983-3707-a8bd-082d1a47546e",
"attributes": {
"code": "S",
"description": "Dus"
},
"links": {
"self": "/v1.1/shower/5dbc98dc-c983-3707-a8bd-082d1a47546e"
}
},
"links": {
"self": "/v1.1/shower/5dbc98dc-c983-3707-a8bd-082d1a47546e"
},
"jsonapi": {
"version": "1.0"
}
}

Shower Attributes

FieldTypeDescription
codestringShower/bath type code
descriptionstringShower/bath type description

Error Responses

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