GET /v1.1/shower/:id
Returns a single shower/bath type by its ID.
Request
GET /v1.1/shower/:id
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
code | string | Shower/bath type code |
description | string | Shower/bath type description |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — shower type not found or upstream query failure |