Download OpenAPI specification:Download
Documentation and interface contract for the travelsApi, the API responsible for the management (creation, publication, reservation ...) of a trip.
Creation of a trip as a business object.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a tour. |
| reference | string Reference of the tour. |
| establishmentId required | string Technical id of the establishment that owns the tour. |
Array of objects (pictures) List of photos representing the tour. | |
| title required | string Title of the tour. |
| smallDescription | string A brief description of the listing. |
| detailedDescription | string A detailed description of the listing. |
Array of objects (tripProgramDetails) The details of a tour's program. |
{- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
]
}{- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
], - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Logical deletion of trips.
| X-Correlation-ID | string Correlation identifier |
| listIds required | Array of strings List of trip identifiers. |
{- "listIds": [
- "string"
]
}{ }List trips.
| establishment-id required | string Technical identifier of the establishment that owns the asset. |
| currentPage | integer >= 0 Current page number; do not send this attribute on the first call. |
| sizePage | integer >= 3 Number of elements per page. |
| X-Correlation-ID | string Correlation identifier |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
], - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}Retrieve a trip by its id.
| trip-id required | string Technical identifier of the trip. |
| X-Correlation-ID | string Correlation identifier |
{- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
], - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a trip.
| trip-id required | string Technical identifier of the trip. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a tour. |
| reference | string Reference of the tour. |
| establishmentId required | string Technical id of the establishment that owns the tour. |
Array of objects (pictures) List of photos representing the tour. | |
| title required | string Title of the tour. |
| smallDescription | string A brief description of the listing. |
| detailedDescription | string A detailed description of the listing. |
Array of objects (tripProgramDetails) The details of a tour's program. |
{- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
]
}{- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
], - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}List publications.
| destination | string A destination city. |
| start-date | string <date> Stay start date. |
| end-date | string <date> Stay end date. |
| adultTravelers | integer Number of travelers (adults). |
| childTravelers | integer Number of travelers (children). |
| babiesTravelers | integer Number of travelers (babies). |
| maxPrice | integer <int64> Maximum price. |
| minPrice | integer <int64> Minimum price. |
| currentPage | integer >= 0 Current page number; do not send this attribute on the first call. |
| sizePage | integer >= 3 Number of elements per page. |
| establishmentIds | string Example: establishmentIds=id1,id2,id3 Filter by establishment identifiers (comma-separated). |
| publicationIds | string Example: publicationIds=id1,id2,id3 Filter by publication identifiers (comma-separated). |
| status | string (publicationStatus) Enum: "PUBLISHED" "ARCHIVED" "WAITING_FOR_APPROVAL" "DRAFTS" The listing status. |
| search | string Example: search=Marrakech Free-text search on reference, title, or destination. |
| X-Correlation-ID | string Correlation identifier |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "tripId": "string",
- "status": "PUBLISHED",
- "childsMaxAge": 0,
- "babiesMaxAge": 0,
- "tripDates": [
- {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}
], - "trip": {
- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
]
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}Archive all publications.
| X-Correlation-ID | string Correlation identifier |
| tripIds required | Array of strings |
{- "tripIds": [
- "string"
]
}trueRetrieve a publication by its id.
| publication-id required | string Technical identifier of the publication. |
| X-Correlation-ID | string Correlation identifier |
{- "id": "string",
- "tripId": "string",
- "status": "PUBLISHED",
- "childsMaxAge": 0,
- "babiesMaxAge": 0,
- "tripDates": [
- {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}
], - "trip": {
- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
]
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a publication.
| publication-id required | string Technical identifier of the publication. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a trip publication. |
| tripId required | string Technical id of the trip to publish. |
| status | string (publicationStatus) Enum: "PUBLISHED" "ARCHIVED" "WAITING_FOR_APPROVAL" "DRAFTS" The listing status. |
| childsMaxAge required | integer The maximum age to benefit from child pricing. |
| babiesMaxAge required | integer The maximum age to benefit from baby pricing. |
required | Array of objects (tripDate) List of proposed dates for a tour. |
{- "id": "string",
- "tripId": "string",
- "status": "PUBLISHED",
- "childsMaxAge": 0,
- "babiesMaxAge": 0,
- "tripDates": [
- {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}
]
}{- "id": "string",
- "tripId": "string",
- "status": "PUBLISHED",
- "childsMaxAge": 0,
- "babiesMaxAge": 0,
- "tripDates": [
- {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}
], - "trip": {
- "id": "string",
- "reference": "string",
- "establishmentId": "string",
- "pictures": [
- {
- "id": "string",
- "link": "string",
- "isMain": true
}
], - "title": "string",
- "smallDescription": "string",
- "detailedDescription": "string",
- "tripProgramDetails": [
- {
- "id": "string",
- "ranking": {
- "id": "string",
- "rank": 0,
- "title": "string"
}, - "picture": {
- "id": "string",
- "link": "string",
- "isMain": true
}, - "city": "string",
- "country": "string",
- "stay": true,
- "latitude": 48.8566,
- "longitude": 2.3522,
- "hosting": {
- "id": "string",
- "name": "string",
- "stars": 0
}, - "description": "string",
- "activities": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true
}
], - "options": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}
]
}
]
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Manage the number of spots in a publication.
| publication-id required | string Technical identifier of the publication. |
| X-Correlation-ID | string Correlation identifier |
| tripDateId | string Technical id of the tour date chosen at the time of booking. |
| adultPlacesCount | integer The number of adult seats (positive to make seats available again, negative otherwise). |
| childPlacesCount | integer The number of child seats (positive to make seats available again, negative otherwise). |
| babiesPlacesCount | integer The number of baby seats (positive to make seats available again, negative otherwise). |
{- "tripDateId": "string",
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}{ }Retrieve the pricing details for a trip.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a booking. |
| publicationId required | string Technical id of the purchased publication. |
required | Array of objects (client) List of clients who will undertake the trip. |
| transactionId | string Technical id of the transaction associated with the booking. |
| tripDateId required | string Technical id of the tour date chosen at the time of booking. |
| reference | string Booking reference, generated automatically and uniquely identifying a booking for the client. |
| status | string (reservationStatus) Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" The booking status. |
Array of objects (activityInput) The list of activities purchased for a tour. | |
Array of objects (optionInput) The list of options purchased for a tour. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
]
}{- "id": "string",
- "travelPricingPerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPriceWithoutCharge": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "serviceFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "paymentFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "activitiesTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "optionsTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}Book an asset.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a booking. |
| publicationId required | string Technical id of the purchased publication. |
required | Array of objects (client) List of clients who will undertake the trip. |
| transactionId | string Technical id of the transaction associated with the booking. |
| tripDateId required | string Technical id of the tour date chosen at the time of booking. |
| reference | string Booking reference, generated automatically and uniquely identifying a booking for the client. |
| status | string (reservationStatus) Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" The booking status. |
Array of objects (activityInput) The list of activities purchased for a tour. | |
Array of objects (optionInput) The list of options purchased for a tour. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
]
}{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true,
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "ageCategory": "ADULT",
- "count": 0
}
], - "tripDate": {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}, - "pricingDetails": {
- "id": "string",
- "travelPricingPerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPriceWithoutCharge": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "serviceFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "paymentFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "activitiesTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "optionsTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}, - "reservedPlaces": {
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}List reservations.
| publication-id | string Technical identifier of the publication. |
| establishmentIds | string Technical identifiers of the establishment that owns the publication. |
| owner-id | string Technical identifier of the customer who made the reservation. |
| search | string Example: search=RES123456 Free-text search on the reservation reference and booking reference. |
| status | string (reservationStatus) Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" The booking status. |
| currentPage | integer >= 0 Current page number; do not send this attribute on the first call. |
| sizePage | integer >= 3 Number of elements per page. |
| X-Correlation-ID | string Correlation identifier |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true,
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "ageCategory": "ADULT",
- "count": 0
}
], - "tripDate": {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}, - "pricingDetails": {
- "id": "string",
- "travelPricingPerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPriceWithoutCharge": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "serviceFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "paymentFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "activitiesTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "optionsTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}, - "reservedPlaces": {
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}Retrieve a reservation by its id.
| reservation-id required | string Technical identifier of the reservation. |
| X-Correlation-ID | string Correlation identifier |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true,
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "ageCategory": "ADULT",
- "count": 0
}
], - "tripDate": {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}, - "pricingDetails": {
- "id": "string",
- "travelPricingPerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPriceWithoutCharge": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "serviceFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "paymentFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "activitiesTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "optionsTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}, - "reservedPlaces": {
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a reservation.
| reservation-id required | string Technical identifier of the reservation. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a booking. |
| publicationId required | string Technical id of the purchased publication. |
required | Array of objects (client) List of clients who will undertake the trip. |
| transactionId | string Technical id of the transaction associated with the booking. |
| tripDateId required | string Technical id of the tour date chosen at the time of booking. |
| reference | string Booking reference, generated automatically and uniquely identifying a booking for the client. |
| status | string (reservationStatus) Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" The booking status. |
Array of objects (activityInput) The list of activities purchased for a tour. | |
Array of objects (optionInput) The list of options purchased for a tour. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "ageCategory": "ADULT",
- "count": 0
}
]
}{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "reference": "string",
- "status": "CONFIRMED",
- "activitiesPurchased": [
- {
- "id": "string",
- "title": "string",
- "picture": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "isIncluded": true,
- "ageCategory": "ADULT",
- "count": 0
}
], - "optionsPurchased": [
- {
- "id": "string",
- "picture": "string",
- "title": "string",
- "description": "string",
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "ageCategory": "ADULT",
- "count": 0
}
], - "tripDate": {
- "id": "string",
- "isCheapestDate": true,
- "adultPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "childPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "babiesPricePerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "nbDays": 0,
- "nbNight": 0,
- "stepsDate": [
- {
- "date": "2019-08-24",
- "stepIds": [
- "string"
]
}
], - "isFlightIncluded": true,
- "flightItinerary": {
- "id": "string",
- "outboundFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": "string",
- "departureFlightCity": "string",
- "departureFlightCountry": "string",
- "departureFlightAirport": "string",
- "departureFlightAirportCode": "string",
- "departureFlightTerminal": "string",
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": "string",
- "arrivalFlightCountry": "string",
- "arrivalFlightAirport": "string",
- "arrivalFlightAirportCode": "string",
- "arrivalFlightTerminal": "string",
- "arrivalFlightTime": "14:30:00",
- "flightNumber": "string",
- "flightBaggageInformation": "string",
- "flightCompany": "string",
- "flightCompanyLogo": "string",
- "flightDuration": "string",
- "stopOverDuration": "string",
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiesSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiesSeatsAvailable": 0
}, - "travelManagers": [
- {
- "fullName": "string",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}
}
]
}, - "pricingDetails": {
- "id": "string",
- "travelPricingPerPerson": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPriceWithoutCharge": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "serviceFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "paymentFees": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "activitiesTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "optionsTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}, - "travelTotalPrice": {
- "id": "string",
- "value": 0,
- "currency": "string"
}
}, - "reservedPlaces": {
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}, - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Add a review on a listing.
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a review. |
| tripPublicationId required | string Technical id of the publication concerned by the review, required for (post). |
| globalMark required | integer [ 1 .. 5 ] Default: 1 Overall rating given by the client on the listing. |
| complianceMark required | integer [ 1 .. 5 ] Default: 1 Compliance rating of the listing given by the client. |
| qualityServiceMark required | integer [ 1 .. 5 ] Default: 1 Service quality rating given by the client on the listing. |
| priceQualityMark required | integer [ 1 .. 5 ] Default: 1 Value for money rating given by the client on the listing. |
| comment required | string [ 10 .. 200 ] characters The comment left by the client on the listing. |
| createdDate | string <date-time> Creation date of the review. |
| ownerId | string The owner of the review. |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string"
}{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}List reviews.
| publication-id required | string Technical identifier of the publication. |
| currentPage | integer >= 0 Current page number; do not send this attribute on the first call. |
| sizePage | integer >= 3 Number of elements per page. |
| X-Correlation-ID | string Correlation identifier |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": {
- "globalMark": 0.1,
- "opinions": [
- {
- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}
}Retrieve a review by its id.
| opinion-id | string Technical identifier of the review. |
| X-Correlation-ID | string Correlation identifier |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Update a review.
| opinion-id required | string Technical identifier of the review. |
| X-Correlation-ID | string Correlation identifier |
| id | string Technical and unique id generated automatically that identifies a review. |
| tripPublicationId required | string Technical id of the publication concerned by the review, required for (post). |
| globalMark required | integer [ 1 .. 5 ] Default: 1 Overall rating given by the client on the listing. |
| complianceMark required | integer [ 1 .. 5 ] Default: 1 Compliance rating of the listing given by the client. |
| qualityServiceMark required | integer [ 1 .. 5 ] Default: 1 Service quality rating given by the client on the listing. |
| priceQualityMark required | integer [ 1 .. 5 ] Default: 1 Value for money rating given by the client on the listing. |
| comment required | string [ 10 .. 200 ] characters The comment left by the client on the listing. |
| createdDate | string <date-time> Creation date of the review. |
| ownerId | string The owner of the review. |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string"
}{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "ownerId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}