# All Requirements - HTML
Note: Shareable link feature may not be enabled for your account.
\
Note: If shareable link is not required, a GET request can be made.
Endpoint: POST /content/all/{type}
Version: 2.0.0
Security: oAuth, bearerAuth
## Path parameters:
- `type` (any)
Enum: "html", "text", "pdf"
## Query parameters:
- `lang` (string)
Language code for response content.
Enum: "de", "en", "fr", "it", "nl", "pl", "es", "pt", "ru", "bg", "cs", "da", "el", "fi", "hu", "nb", "ro", "sk", "sl", "sv", "tr"
- `countries` (array)
Country codes as array or comma separated.
Example: ["TR","ZA","AE"]
- `nat` (array)
Traveller nationality codes as array or comma separated.
Example: ["DE","AT"]
- `cruise_compass_cruise_id` (string)
Cruise Compass Cruise ID to fetch requirements for given cruise's destinations. Kindly contact us if you don't have Cruise ID information for Cruise Compass.
- `return_regions` (array)
Return region / state codes (COUNTRY_CODE:REGION_CODE) as comma separated.
Example: ["DE:BE","DE:BW","CH:ZH"]
- `states` (array)
Return state codes (Germany) as comma separated.
Example: ["BE","BW"]
- `zip_code` (string)
Comma separated zip codes to specify states for return requirements.
Example: "12683,78267"
- `zip_location` (string)
Comma separated location names if the zip_code parameter contains zip code belonging to more than one state.
Example: "Biesdorf,Aach"
- `target-device` (string)
Send this parameter if the content is to be displayed on a device with limited screen space.
Enum: "mobile"
## Request fields (application/json):
- `language` (string)
Enum: "de", "en", "fr", "it", "nl", "pl", "es", "pt", "ru", "bg", "cs", "da", "el", "fi", "hu", "nb", "ro", "sk", "sl", "sv", "tr"
- `destinations` (array)
Simple query:
json
{
"destinations": ["FR", "ES"]
}
Specifying destination type:
json
{
"destinations": [
{"destination": "FR","type": "travel"},
{"destination": "ES", "type": "transit"}
]
}
For cruise query:
json
{
"cruise_compass_cruise_id": "111-2222-33",
"destinations": [
{"destination": "FR","type": "pre-stay"},
{"destination": "ES", "type": "follow-up"}
]
}
- `nationalities` (array)
Example: ["TR","ZA","AE"]
- `cruise_compass_cruise_id` (string)
Cruise Compass Cruise ID to fetch requirements for given cruise's destinations. Kindly contact us if you don't have Cruise ID information for Cruise Compass.
- `trip` (object)
- `trip.name` (string)
Example: "Trip Name"
- `trip.start_date` (string)
Example: "2020-01-01"
- `trip.end_date` (string)
Example: "2020-01-01"
- `trip.reference` (string,null)
- `trip.note` (string,null)
- `tour_operators` (array)
- `individual_contents` (array)
- `cover_media` (string)
Selects cover media to be displayed on the enduser link. Use UUID retrieved from /travel-details/media endpoint.
- `show_country_info` (boolean,null)
## Response 200 fields (application/json):
- `records` (array)
- `records.destination` (string)
- `records.destination_type` (string)
Enum: "travel", "transit", "cruise", "pre-stay", "follow-up"
- `records.nationality` (string)
- `records.title` (string)
- `records.overview` (object)
- `records.overview.language` (string)
- `records.overview.content` (string)
- `records.entry` (object)
- `records.visa` (object)
- `records.transit_visa` (object)
- `records.health` (object)
- `records.final_provisions` (object)
- `individual_content` (object)
- `individual_content.name` (string)
- `individual_content.success` (boolean)
Whether the individual content was retrieved successfully. If not, an error message will be returned in 'error' field.
- `individual_content.error` (string,null)
This field will contain an error message if individual content was not retrieved due to any reason.
- `individual_content.sections` (array)
- `individual_content.sections.code` (string)
- `individual_content.sections.success` (boolean)
Whether the individual content section was retrieved successfully. If not, an error message will be returned in 'error' field.
- `individual_content.sections.error` (string,null)
This field will contain an error message if individual content section was not retrieved due to any reason.
- `tour_operators` (array,null)
- `tour_operators.success` (boolean)
Whether the tour operator content was retrieved successfully. If not, an error message will be returned in 'error' field.
- `tour_operators.error` (string,null)
This field will contain an error message if tour operator content was not retrieved due to any reason.
- `tour_operators.contents` (array)
- `requestid` (string)
Unique Request ID identifying this request.
- `responsetime` (number)
Time taken to generate response.
- `trip_url` (string)
Example: "https://travel-details.eu/en?tid=ABCD-EFGH-IJKL"
## Response 401 fields