GPTE API Release 9.0 (15 August 2022)
Accommodations:
GET /searchAccommodation:
- parameter “supplierCode” is added in the request
- new parameter "soldOut" is added into the response in case if offer is not available for requested search dates
- new parameter "nameToken" in array "bedTypes" is added into the responseGET /hotelInfo: new parameter "nameToken" in array "bedTypes" is added into the response
POST /prepareAccommodationBook: parameter “personId” is optional now under CORPORATOR with roles trip coordinator and supervisor
Package:
GET /searchPackageTours: new parameters “departurePlace”, “departureCityId”, “departureCountryId”, “arrivalPlace”, “arrivalCityId”, “arrivalCountryId” with info on departure/arrival for transfer on entry level are added into the response
All services:
GET /search[Service]: product ID is added into the response of search methods GET /search[Service]. Changes are applied to GET /searchPackageTours (the same model on services is used)
CRMPerson:
POST /registration: new optional parameter "directSales" is added in the request (parameter for the ability to create a private client without the link to B2C when sent as true)
Orders:
GET /tips: new method is added to obtain the current info on saved tips into reservation
GET /orders:
- new parameters “onExtraBed” and “onWithoutPlace” are added into the response
- new parameter "nameToken" in array "bedTypes" is added into the response
POST /manualModification: new parameter “mealTypeId” is added on the order level and parameter “alternativeMealTypeId” can be added/modified on the traveler level
POST /orderServices: new parameter “status” (with possible values: CONFIRMED, SAVED_ORDER, CONFIRMATION_PENDING) is added
PUT /orderItinerary: Create/edit itinerary is obtained via the existing method now. Parameters for Duration, Description, Included, Excluded; Itinerary description (day by day plan) are added. Also implemented possibility to remove / set display order / link with trip day for the images
export Orders: new parameter "nameToken" in array "bedTypes" is added
CRMCommuncations: new section is added with methods to achieve the possibility to view, create and edit communications in the reservation:
GET /communications
POST /communications
PUT /communications/{communicationId}