Download OpenAPI specification:Download
Documentation et contrat d'interface pour l'api travelsApi, l'api responsable de la géstion (création, publication, reservation ...) d'un voyage.
création d'un circuit au tant qu'objet métier.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un circuit. |
| reference | string référence du circuit. |
| establishmentId required | string id technique de l'établissemnt propriétaire du circuit. |
Array of objects (pictures) Liste de photos qui représentent le circuit. | |
| title required | string titre du circuit. |
| smallDescription | string Une description brève de l'annonce. |
| detailedDescription | string Une description détaillée de l'annonce. |
Array of objects (tripProgramDetails) les détails du programme d'un circuit. |
{- "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,
- "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,
- "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"
}
]
}Suppression logique des trips.
| X-Correlation-ID | string Identifiant de corrélation |
| listIds required | Array of strings Liste des identifiants de trips. |
{- "listIds": [
- "string"
]
}{ }Lister les circuits.
| establishment-id required | string id technique de l'établissement propriétaire du bien. |
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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,
- "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"
}
]
}
]
}récupération d'un circuit par son id.
| trip-id required | string id technique du circuit. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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,
- "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"
}
]
}modification d'un circuit.
| trip-id required | string id technique du circuit. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un circuit. |
| reference | string référence du circuit. |
| establishmentId required | string id technique de l'établissemnt propriétaire du circuit. |
Array of objects (pictures) Liste de photos qui représentent le circuit. | |
| title required | string titre du circuit. |
| smallDescription | string Une description brève de l'annonce. |
| detailedDescription | string Une description détaillée de l'annonce. |
Array of objects (tripProgramDetails) les détails du programme d'un circuit. |
{- "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,
- "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,
- "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"
}
]
}Lister les publications.
| destination | string Une ville de destination. |
| start-date | string <date> Date de début de séjour. |
| end-date | string <date> Date de fin de séjour. |
| adultTravelers | integer Le nombre de voyageurs (adules). |
| childTravelers | integer Le nombre de voyageurs (enfant). |
| babiesTravelers | integer Le nombre de voyageurs (bébé). |
| maxPrice | integer <int64> Le prix maximum. |
| minPrice | integer <int64> Le prix minimum. |
| currentPage | integer >= 0 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 1 Nombre d'éléments par page. |
| establishmentIds | string Example: establishmentIds=id1,id2,id3 Filtre par identifiants d(établissements (séparés par virgule) |
| publicationIds | string Example: publicationIds=id1,id2,id3 Filtre par identifiants de publication (séparés par virgule) |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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,
- "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"
}
]
}
]
}archiver toutes les publications.
| X-Correlation-ID | string Identifiant de corrélation |
| tripIds required | Array of strings |
{- "tripIds": [
- "string"
]
}truerécupération d'une publication par son id.
| publication-id required | string id technique de la publication. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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,
- "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"
}
]
}modification d'une publication.
| publication-id required | string id technique de la publication. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une publication d'un trip. |
| tripId required | string id technique du bien à publier. |
| status | string Enum: "PUBLISHED" "ARCHIVED" "WAITTING_FOR_APPROVAL" "DRAFTS" Le statut de l'annonce. |
| childsMaxAge required | integer l'age maximum pour profiter des traifs enfants. |
| babiesMaxAge required | integer l'age maximum pour profiter des traifs Bébées. |
required | Array of objects (tripDate) liste de dates proposées pour un circuit. |
{- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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,
- "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"
}
]
}Géstion de nombre de place dans une publication.
| publication-id required | string id technique de la publication. |
| X-Correlation-ID | string Identifiant de corrélation |
| tripDateId | string id technique de la date du circuit choisi au moment de la reservation. |
| adultPlacesCount | integer le nombre de place pour adulte, (le nombre est positif si on souhaite remetrre à dispo des places, et negatif sinon). |
| childPlacesCount | integer le nombre de place pour enfant, (le nombre est positif si on souhaite remetrre à dispo des places, et negatif sinon). |
| babiesPlacesCount | integer le nombre de place pour bébé, (le nombre est positif si on souhaite remetrre à dispo des places, et negatif sinon). |
{- "tripDateId": "string",
- "adultPlacesCount": 0,
- "childPlacesCount": 0,
- "babiesPlacesCount": 0
}{ }récupération le details de prix pour un voyage.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une reservation. |
| publicationId required | string id technique de la publication achetée. |
required | Array of objects (client) liste de clients qui vont effectuer le trip. |
| transactionId | string id technique du client qui a effectuer la reservation. |
| tripDateId required | string id technique de la date du circuit choisi au moment de la reservation. |
| status | string Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" Le statut de la réservation. |
Array of objects (activitieInput) la liste d'activités achetées pour un ciruit. | |
Array of objects (optionInput) la liste d'options achetées pour un ciruit. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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"
}, - "paimentFees": {
- "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"
}
}reservation d'un bien.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une reservation. |
| publicationId required | string id technique de la publication achetée. |
required | Array of objects (client) liste de clients qui vont effectuer le trip. |
| transactionId | string id technique du client qui a effectuer la reservation. |
| tripDateId required | string id technique de la date du circuit choisi au moment de la reservation. |
| status | string Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" Le statut de la réservation. |
Array of objects (activitieInput) la liste d'activités achetées pour un ciruit. | |
Array of objects (optionInput) la liste d'options achetées pour un ciruit. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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"
}, - "paimentFees": {
- "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"
}
]
}Lister les reservations.
| publication-id | string id technique de la publication. |
| establishment-id | string id technique de l'établissemnt propriétaire de la publication. |
| owner-id | string id technique du client qui a effectué la reservation. |
| currentPage | integer >= 0 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 1 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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"
}, - "paimentFees": {
- "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"
}
]
}
]
}récupération d'une reservation par son id.
| reservation-id required | string id technique de la reservation. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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"
}, - "paimentFees": {
- "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"
}
]
}modification d'une reservation.
| reservation-id required | string id technique de la reservation. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie une reservation. |
| publicationId required | string id technique de la publication achetée. |
required | Array of objects (client) liste de clients qui vont effectuer le trip. |
| transactionId | string id technique du client qui a effectuer la reservation. |
| tripDateId required | string id technique de la date du circuit choisi au moment de la reservation. |
| status | string Enum: "CONFIRMED" "CREATED" "IN_PROGRESS" "CANCELED" "ARCHIVED" "PASSED" Le statut de la réservation. |
Array of objects (activitieInput) la liste d'activités achetées pour un ciruit. | |
Array of objects (optionInput) la liste d'options achetées pour un ciruit. |
{- "id": "string",
- "publicationId": "string",
- "clients": [
- {
- "lastName": "string",
- "firstName": "string",
- "dateOfBirth": "2019-08-24",
- "ageCategory": "ADULT",
- "isMainPerson": true,
- "personId": "string"
}
], - "transactionId": "string",
- "tripDateId": "string",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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",
- "status": "CONFIRMED",
- "activitesPurchased": [
- {
- "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": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}, - "returnFlight": {
- "id": "string",
- "isFlightWithStopover": true,
- "flights": [
- {
- "id": "string",
- "description": null,
- "departureFlightCity": null,
- "departureFlightCountry": null,
- "departureFlightAirport": null,
- "departureFlightAirportCode": null,
- "departureFlightTerminal": null,
- "departureFlightTime": "14:30:00",
- "arrivalFlightCity": null,
- "arrivalFlightCountry": null,
- "arrivalFlightAirport": null,
- "arrivalFlightAirportCode": null,
- "arrivalFlightTerminal": null,
- "arrivalFlightTime": "14:30:00",
- "flightNumber": null,
- "flightBaggageInformation": null,
- "flightCompany": null,
- "flightCompanyLogo": null,
- "flightDuration": null,
- "stopOverDuration": null,
- "flightDate": "2019-08-24"
}
]
}
}, - "seatsAvailable": {
- "initialNumberOfSeatsAvailable": 0,
- "initialNumberOfChildrensSeatsAvailable": 0,
- "initialNumberOfBabiessSeatsAvailable": 0,
- "numberOfSeatsAvailable": 0,
- "numberOfChildrensSeatsAvailable": 0,
- "numberOfBabiessSeatsAvailable": 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"
}, - "paimentFees": {
- "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"
}
]
}ajout d'un opinion sur une annance.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un opinion. |
| tripPublicationId required | string id technique de la publication conerné par l'opinion, obligatoir pour (post). |
| globalMark required | integer [ 1 .. 5 ] Default: 1 note globale du client sur l'annonce. |
| complianceMark required | integer [ 1 .. 5 ] Default: 1 note de conformité du l'annonce donné par le client sur l'annonce. |
| qualityServiceMark required | integer [ 1 .. 5 ] Default: 1 note de qualité de service donné par le client sur l'annonce. |
| priceQualityMark required | integer [ 1 .. 5 ] Default: 1 note du rapport qualité prix donné par le client sur l'annonce. |
| comment required | string [ 10 .. 200 ] characters Le commentaire laisé par le client sur l'annonce. |
| createdDate | string <date-time> Date de creation de l'opinion. |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z"
}{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Lister les opinions.
| publication-id required | string id technique de la publication. |
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "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",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}
}récupération d'un opinion par son id.
| opinion-id | string id technique de l'avis. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}modification d'un opinion.
| opinion-id required | string id technique de l'avis. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un opinion. |
| tripPublicationId required | string id technique de la publication conerné par l'opinion, obligatoir pour (post). |
| globalMark required | integer [ 1 .. 5 ] Default: 1 note globale du client sur l'annonce. |
| complianceMark required | integer [ 1 .. 5 ] Default: 1 note de conformité du l'annonce donné par le client sur l'annonce. |
| qualityServiceMark required | integer [ 1 .. 5 ] Default: 1 note de qualité de service donné par le client sur l'annonce. |
| priceQualityMark required | integer [ 1 .. 5 ] Default: 1 note du rapport qualité prix donné par le client sur l'annonce. |
| comment required | string [ 10 .. 200 ] characters Le commentaire laisé par le client sur l'annonce. |
| createdDate | string <date-time> Date de creation de l'opinion. |
{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z"
}{- "id": "string",
- "tripPublicationId": "string",
- "globalMark": 1,
- "complianceMark": 1,
- "qualityServiceMark": 1,
- "priceQualityMark": 1,
- "comment": "stringstri",
- "createdDate": "2019-08-24T14:15:22Z",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}