Get information about account's subscription for Passolution service and features that are available.
Passolution Dataservice API (2.0.0)
Our API service supports following endpoints.
If you need further clarification or have a feature request, feel free to contact us using our website web.passolution.eu.
API Service
Get basic information about the API service like its health and version.
GET /health - Health Information
GET /version - Version Information
Account
Get an Account's subscription information & features that are available or generate a login link to log user into Passolution website automatically.
GET /account/subscription - Info about Account's Subscription & Accessible Features
GET /auth/login/generate_link - Login Link Generation
- https://api.passolution.eu/api/v2/account/subscription
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.passolution.eu/api/v2/account/subscription \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Account subscription information.
The account has access to following features based on returned features field: content.country - Country Information content.cruise - Cruise Information content.cruise_operator - Cruise Operator Information content.individual - Individual Content content.tour_operator - Tour Operator Information customer.travel_detail_link.create - Create Travel Details Links customer.travel_detail_link.manage - Edit, update & delete Travel Details Links customer.travel_detail_link.email_subscriptions - Subscribe travellers for important changes to their trip.
{ "type": "premium", "features": [ "content.country", "content.cruise", "content.cruise_operator", "content.individual", "content.tour_operator", "customer.travel_detail_link.create", "customer.travel_detail_link.manage", "customer.travel_detail_link.email_subscriptions" ] }
Request
Allows generation of a link which logs user into Passolution website directly and redirects to provided page.
The generated link is only valid for 30 seconds as it is supposed to be consumed immediately.
Using account access token, you can generate login link of any user of the account:
.../auth/login/generate_link?page=/&username=user@example.comIf you have user access token, you can generate login link for user directly:
.../auth/login/generate_link?page=/- https://api.passolution.eu/api/v2/auth/login/generate_link
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.passolution.eu/api/v2/auth/login/generate_link?page=%2F&username=user%40example.com' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "username": "user@example.com", "link": { "url": "https://web.passolution.eu/auth/login/{generated-token}?user=user@example.com&page=/", "token": "{generated-token}" }, "requestid": "d22f5305-05f3-48a0-9131-a4e6e5f58b9a", "responsetime": 0 }
Basic Data
You can use these endpoints to get available values for different parameter that you will need to use.
GET /countries - Destination countries that can be queried.
GET /nationalities - Traveller nationalities that can be queried.
GET /languages - Entry Requirements information is available in these Languages.
GET /tour-operators - Additional Requirements may be available for these Tour Operators.
Additionally, some endpoints support dynamic fields in requests and responses.
The value of these dynamic fields can be known using following endpoints:
GET /entry/documents - Entry Requirements - Documents
GET /entry/additional-info - Entry Requirements - Additional Info
GET /health/immunizations - Health Requirements - Immunizations
Travel Details Links
Travel Details Link is a shareable link that you can create to share with your customers. This link allows the travellers to:
- Check destination entry requirements.
- Download entry requirements as PDF file for offline access.
- Subscribe & receive email notifications for important changes to entry requirements.