/
GPTE API Release 10.0 (20 March 2024)

GPTE API Release 10.0 (20 March 2024)

Added new sections to the REST API:

  • “Import”

  • “Dashboards”

New API methods are added:

  • POST /import/users - to upload the users data (.xlsx) to import

  • POST /import/organisations - to upload the organisations and users data (.xlsx) to import

  • POST /import/corporate-clients - to upload the corporate clients data (.xlsx) to import

  • POST /import/corporate-clients - to upload the corporate clients data (.xlsx) to import

  • POST /issueBulkManualInvoices - to run automatic invoicing from suppliers

  • GET  /download/persons -  to download users data

  • GET  /download/companies -  to download companies data

  • GET  /downloadSchedulerGroups

  • GET /downloadSchedulerGroupsDetails

  • GET /downloadManualInvoices - to download excel file with payments 

  • GET  /organizationFinances -  to  get current balance and amount on deposit

  • GET  /dashboards -  to get organization requests statistics for selected period

New parameters are added to the existing API methods:

Inbound Emails:  

  •  GET  /company: parameter “email” is added to the request

  •  GET  /persons: 
    - parameter “email” is added to the request
    - parameter “phone” is added to the request

  •  GET  /privateClients: parameter “email” is added to the request

Orders:

  • POST /manualModification: 
    - parameter “bookingClass”
    - parameter "brandedFare"

  • POST /orderServices: parameter "brandedFare"

  • PUT /orderServices: parameter "brandedFare"

Companies: 

  •  GET /companies: parameters "groupOfContracts", "manager", "stage", "firstOrderDate", "lastOrderDate", "ordersCount", "currentBalance"

  •  GET /downloadCompanies: parameters “companyIds”, “companyType”, “fileType”

Persons: 

  •  GET /downloadPersons: parameters "companyId”, “fileType”

Dashboards: 

  •  GET /dashboards: parameters ”startDate” and “endDate”

All Services: 

  •  GET /search[Service]: array “commission” added to response for "supplier price"

  •  GET /additionalOptions: array “commission” added to response for "supplier price"

Scheduler: 

  •  GET /schedulerGroups: parameter “vehicle” to the response

  •  GET /schedulerGroupDetails: parameter “vehicle” to the response

  •  GET /modifySchedulerGroup/{groupId}: 
    - parameter “vehicle” to the request and response
    - parameter “dateTime” to the request and response

Invoices: 

  • POST/issueManualInvoice: parameter “description” to the request

  •  GET /manualInvoices: parameter “description” to the response