GPTE API Release 8.13 (27 April 2022)
Companies:
GET / POST /companies & PUT /companies{id}: it is possible to obtain, add or edit up to 3 email addresses now. This parameter is array for POST/PUT already.
Accommodations:
GET/searchAccommodation:
new parameters “internalNote”, “countryName” and “cityName” are added into the response
meal type, room type and tariff type IDs are added into the response for own hotels
new type of prices is added into the response, e.g. type = MARKET with the same structure on price with the main data
GET/hotels: new parameter "internalNote" is added into the response for own and external hotels
POST/prepareAccommodationBook & PUT/prepareAccommodationBook/{basketKey}: phone number validation for Sabre hotels is added for these methods
Orders:
GET/orders:
additional parameters "status", "customerPaymentStatus" and "supplierPaymentStatus" are added for responseType = SHORT
new parameters “durationTime” (format hh:mm, e.g. 03:00) and “durationDays” (format integer, e.g. 2) are added into the response
Activities:
GET/searchActivities and GET /activityInfo: new parameters “singleDay” (boolean), “durationTime” (format hh:mm, e.g. 03:00) and “durationDays” (format integer, e.g. 2) are added into the response for own excursions
ExcursionContracts:
GET / POST / PUT /ownExcursionContracts: new parameter "singleDay" (boolean) - true by default - is added:
when "singleDay" = true parameter “duration” should be added like hh:mm
when "singleDay" = false parameter “duration” should be added like integer (# of days)
POST / PUT /ownExcursionServices: parameter “startTime” is optional now
Export Orders API: new parameters “durationTime” (format hh:mm, e.g. 03:00) and “durationDays” (format integer, e.g. 2) are added for own excursions