Skip to main content

GET /v1.1/shower

Returns a list of all shower/bath types.

Request

GET /v1.1/shower

Example Request

curl -X GET "https://api.rccl.ro/v1.1/shower" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns an array of shower resources.

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"
}
},
{
"type": "shower",
"id": "b9ece18c-950a-3bfa-ab0f-dbfa4ff731d3",
"attributes": {
"code": "T",
"description": "Cada"
},
"links": {
"self": "/v1.1/shower/b9ece18c-950a-3bfa-ab0f-dbfa4ff731d3"
}
}
],
"meta": {
"count": 2
},
"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 — upstream query failure