/
GPTE API Release 8.12 (14 Feb 2022)

GPTE API Release 8.12 (14 Feb 2022)

Accommodations:

  • GET/searchAccommodation: new parameter "recommended" is added into the response

  • GET/hotels: new parameter “hotelCode” is added in the request

  • POST/prepareAccommodationBook:

    • parameters “type”, “firstName” and “lastName” are optional now for own hotels

    • new parameter “personalNumber” (string, optional) is added

    • new container “referrer” is added on the level of offer to book with the fields: "firstName", "lastName", "email", "phone", "organisation"

  • PUT/prepareAccommodationBook/{basketKey}: parameters “type”, “firstName” and “lastName” are optional now for own hotels

Transfers:

  • POST/prepareBookTransfer: parameter “time” is optional now

Activities:

  • GET/searchActivities: new parameter "recommended" is added into the response for excursions and events

Insurance:

  • GET/searchInsurance:

    • parameter "birthdates" is optional now in the request

    • array with info on the product with parameters "name", "shortDescription" is added into the response

Package:

  • GET/searchPackageTours and GET/packageTourInfo:

    • new parameters "hotelName"(for hotels) and "name" (for other products) are added to show product name into the response

    • new parameter "serviceName" with info on service name is added into the response

Orders:

  • GET/orders:

    • new parameters “taxesAndFeesIncluded”, “personalNumber” are added into the response

    • new parameter "iataCode" for train station is added into the response

  • PUT/TravellerData/{processId}: new method is added to change guest data

 

Previous changes are available here.