/
GPTE API Release 10.1 (12 June 2024)

GPTE API Release 10.1 (12 June 2024)

Added new sections to the REST API:

  • “CRMCampaigns”

New API methods are added:

  • GET /campaigns -  to get overall campaigns on or specific request

  • POST /campaigns -  to create campaigns

  • PUT /campaigns -  to edit campaigns

  • PATCH /campaigns -  to edit campaigns

  • GET  /departments -  to get detailed information about certain department

  • GET  /orderDestinations - to get order destinations

  • POST /orderDestinations - to create order destination

  • PUT /orderDestinations - to create order destination

  • DELETE  /orderDestinations - to delete order destination

New parameters are added to the existing API methods:

Products:

  •  GET  /cruiseAdditionalOptions: parameter ‘processId’ is added to the request

  •  GET /ownExtraServiceAdditionalOptions: parameter ‘processId’ is added to the request

Orders:

  • GET /orders: parameter ‘campaignId’ is added to the response

  • GET /orders: parameter ‘departmentId’ is added to the request and response

  • GET /orders: parameter ‘serviceManager’ is added to the request and response

  • GET /orders: parameter ‘quantityOfRooms’ is added to the response

  • GET /orders: parameter ‘productId’ is added to the request 

  • GET /orders: parameter ‘visibleInReservation’ is added to the response

  • POST /orders: parameter ‘campaignId’ is added to the response

  • POST /orders: parameter ‘agentCompanyId’ is added to the request

  • PUT /orders: parameter ‘campaignId’ is added to the response

  • PUT /orders: parameter ‘visibleInReservation’ is added to the request

  • GET /tips: parameter ‘offerKey’ is added to the request

Campaigns: 

  • GET  /campaigns: parameter ‘campaignId’ is added to the request

  • GET  /campaigns: parameter ‘name’ is added to the request

  • GET  /campaigns: parameter ‘campaignDateFrom’ is added to the request

  • GET  /campaigns: parameter ‘campaignDateTo’ is added to the request

  • GET  /campaigns: parameter ‘createdDateFrom’ is added to the request

  • GET  /campaigns: parameter ‘createdDateTo’ is added to the request

  • GET  /campaigns: parameter ‘modifiedDateFrom’ is added to the request

  • GET  /campaigns: parameter ‘modifiedDateTo’ is added to the request

  • GET  /campaigns: parameter ‘assignedToId’ is added to the request

  • GET  /campaigns: parameter ‘campaignType’ is added to the request

  • GET  /campaigns: parameter ‘budgetFrom’ is added to the request

  • GET  /campaigns: parameter ‘budgetTo’ is added to the request

  • GET  /campaigns: parameter ‘budgetCurrency’ is added to the request

  • GET  /campaigns: parameter ‘status’ is added to the request

  • GET  /campaigns: parameter ‘limit’ is added to the request

  • GET  /campaigns: parameter ‘offset’ is added to the request

Persons:

  • GET  /persons: parameter ‘departmentId’ is added to the request and response

  • GET  /persons: parameter ‘email’ is added to the request and response

  • GET  /persons: parameter ‘phone’ is added to the request and response

  • POST  /persons: parameter ‘departmentId’ is added to the request and response

  • PUT /persons: parameter ‘departmentId’ is added to the request and response

Services:

  • POST /prepare[Service]Book: parameter ‘destinationId’ is added to the request and response

  • POST /orderServices: parameter ‘quantityOfRooms’ is added to the request and response

  • PUT /orderServices: parameter ‘quantityOfRooms’ is added to the request and response

  • GET /[Service]info: parameter ‘pleaseNote’ is added to the request 

  • GET /ownExtraServiceInfo: parameter ‘shortDescription’ is added to the response

  • GET /search[Service]: parameter ‘tipsAvailable’ is added to the response

Packages:

  • GET /packageTours: parameter ‘cityId’ is added to the request

  • GET /packageTours: parameter ‘cityName’ is added to the request

  • GET /packageTours: parameter ‘countryId’ is added to the request

  • GET /packageTours: parameter ‘countryName’ is added to the request 

  • GET /packagePrograms: parameter ‘packageLink’ is added to the request

  • GET /searchPackageTours: parameter ‘tipsAvailable’ is added to the response

Companies:

  • GET /companies now returns response with ‘supplier’ in property ‘relationship’ 

CRM Communications:

  • GET /communications: parameter ‘accountId’ is added to the request

BusinessIntelligence:

  • GET/salesMonitoringReport: parameter ‘productId’ is added to the request