GetDepartureCities

Version 1.1 by Giorgi Mdivnishvili on 2023/12/14 08:09

Method Description

The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods. 

Request URL - [GET]

Request Parameters

Request Body

none

Response Body

{
 "error": true,
 "errorCode": "string",
 "errorDescription": "string",
 "userErrorDescription": "string",
 "countries": [
    {
     "countryCode": "string",
     "countryName": "string",
     "note": "string",
     "phoneCode": "string",
     "isO2": "string",
     "isO3": "string",
     "status": 0,
     "sortingOrder": 0,
     "sellCurrency": "string"
    }
  ]
}

example

 {
         "countryCode": "MV",
         "countryName": "Maldives",
         "phoneCode": "960",
         "isO2": "MV",
         "isO3": "MDV",
         "status": 1,
         "sortingOrder": 800,
         "sellCurrency": "USD"
 },
 {
         "countryCode": "GE",
         "countryName": "Georgia",
         "phoneCode": "995",
         "isO2": "GE",
         "isO3": "GEO",
         "status": 1,
         "sortingOrder": 900,
         "sellCurrency": "USD"
 }

Schema

GetCountriesResponse{
error boolean
errorCode string
nullable: true
errorDescription string
nullable: true
userErrorDescription string
nullable: true
countries [
nullable: true
Country{
countryCode string
nullable: true
readOnly: true
countryName string
nullable: true
note string
nullable: true
phoneCode string
nullable: true
isO2 string
nullable: true
isO3 string
nullable: true
status integer($int32)
sortingOrder integer($int32)
sellCurrency string
nullable: true
}]
}