GET /v1.1/cancellation_note/:id
Returns a single cancellation note by its ID. Cancellation notes provide additional textual information about cancellation policies.
Request
GET /v1.1/cancellation_note/:id
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The cancellation note ID |
Example Request
curl -X GET "https://api.rccl.ro/v1.1/cancellation_note/b3a7c9e1-4d2f-3a1b-8c5e-9f0d1e2a3b4c" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"
Response
200 OK
Returns a single cancellation note resource.
Response body:
{
"data": {
"type": "cancellation_note",
"id": "b3a7c9e1-4d2f-3a1b-8c5e-9f0d1e2a3b4c",
"attributes": {
"text": "Conditiile de anulare se aplica per persoana, per croaziera."
},
"links": {
"self": "/v1.1/cancellation_note/b3a7c9e1-4d2f-3a1b-8c5e-9f0d1e2a3b4c"
}
},
"links": {
"self": "/v1.1/cancellation_note/b3a7c9e1-4d2f-3a1b-8c5e-9f0d1e2a3b4c"
},
"jsonapi": {
"version": "1.0"
}
}
Cancellation Note Attributes
| Field | Type | Description |
|---|---|---|
text | string | Cancellation note text |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — cancellation note not found or upstream query failure |