GET /v1.1/company/:id
Returns a single company by its ID.
Request
GET /v1.1/company/:id
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The company ID |
Example Request
curl -X GET "https://api.rccl.ro/v1.1/company/2edc9920-1ed8-3502-b31e-93d5ec6a94bd" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"
Response
200 OK
Returns a single company resource.
Response body:
{
"data": {
"type": "company",
"id": "2edc9920-1ed8-3502-b31e-93d5ec6a94bd",
"attributes": {
"code": "AZA",
"title": "Azamara®",
"description": "AzamaraSM este o companie exclusivista de croaziere...",
"hero_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/2019/03/Croaziera_Azamara_Pursuit_Hero-e1575305405702.jpg",
"logo_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/AZA-300x107.jpg",
"site_url": "https://rccl.ro/branduri-croaziera/azamara",
"terms_of_service_url": "https://rccl.ro/termeni-si-conditii-de-rezervare-croaziere-azamara-club-cruises",
"gratuities_included": true,
"dining_description": "Cina in restaurantul principal de pe vasele Azamara Club Cruises...",
"dining_image_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/CEL_PR_JUN02_ENHANCED-CONCIERGE-80-opacity.jpg",
"gratuity_description": "Pe toate vasele se obişnuieşte sa se ofere o taxa...",
"deck_legend_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/legenda-plan-punti-AZA-1.png"
},
"links": {
"self": "/v1.1/company/2edc9920-1ed8-3502-b31e-93d5ec6a94bd"
}
},
"links": {
"self": "/v1.1/company/2edc9920-1ed8-3502-b31e-93d5ec6a94bd"
},
"jsonapi": {
"version": "1.0"
}
}
Company Attributes
| Field | Type | Description |
|---|---|---|
code | string | Unique company code |
title | string | Company name |
description | string | Company description |
hero_url | string | Hero image URL |
logo_url | string | Logo image URL |
site_url | string | Company website URL |
terms_of_service_url | string | Terms of service URL |
non_refundability_terms_url | string | Non-refundability terms URL |
gratuities_included | boolean | Whether gratuities are included in fares |
dining_description | string | Dining information |
dining_image_url | string | Dining image URL |
gratuity_description | string | Gratuity policy description |
gratuity_image_url | string | Gratuity image URL |
deck_legend_url | string | Deck legend image URL |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — company not found or upstream query failure |