GPTE API Release 9.1 (04 October 2022)
Companies:
GET /companies: new parameter “phone” is added in the request to be able to find company by phone number
CarRent:
GET /carBookingData: new method is added to get available offices for POST /fillCarBookingData
Package:
GET /searchPackageTours: new parameter “duration” for hotels is added into the response
GET /packageTours: new parameters “programId” and “programName” are added in the response, parameter “programId” also is added into the request
GET /packagePrograms: new method is added to get “programId” and “programName” in the response
All services:
GET /search[Service]: new parameter “supplierName” is added into the response for own and external suppliers. It is returned in the locale under which a search request is made
POST /fill[Service]BookingData: new method is added to add the details on tourists for all services and mandatory fields for transfers
POST / PUT /prepare[Service]Book: new array “tips” with info is added in the response
PUT /prepare[Service]Book/{basketKey} / POST /prepare[Service]Book: tourists and mandatory fields are made optional to save an offer for further booking with added data later
Booking:
POST /prepareBookSaveOrder: request parameter is changed to array to book and pay the list of services
Orders:
GET /tips: added new parameters “productId”, “serviceIds”, “forAllServices’ into the response
GET /orders: new parameter “clientPriceType” is added into the response
POST /orders: new parameter “clientPriceType” is added to select to show total price or separate prices per each service
PUT /orders/{orderId}: new parameters “agentId”, “clientPriceType” are added in the request
Documents:
GET /documents: new parameters (linked service) “processId”, “serviceName”, “visibleForAll” (boolean) are added into the response
POST /documents: new optional parameters “processId” and “visibleForAll” are added
CRMCommunications:
GET /communications: new parameters “createdDateTime”, “ modifiedDateTime”, “createdByUserId”, “modifiedByUserId”, “createdByUserName”, “modifiedByUserName” and “serviceName” are added in the response
POST /communications & PUT /communications/{communicationId}:
- NOTES is added in parameter “type”
- parameters “stage” and “subject” are optional now
- new optional parameter “processId” is added to link note to a service