ETS API
  1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login
      POST
    • 1 REQ B2B Login Token
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2B Search Connecting flight
      POST
    • 2C Search Round trip
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      GET
    • 4B Smart Offer Request optional
      GET
    • 5 Documents types for offer
      GET
    • 6 Offer info UPD LATER
      GET
    • 7 Availability of Offer
      GET
    • 8 OPT Available Services
      GET
    • 9 OPT Select services
      POST
    • 10 Create Order
      POST
    • 11 Split Order
      PATCH
    • 12 Order payment
      POST
    • 13 小heckout status
      GET
    • 14 Refund order
      GET
    • 15 Get order info
      GET
    • 16 Print E-Tiket
      GET
    • 17 Receiving a cancellation fee
      GET
    • 18 Cancel Order
      GET
    • 19 Get airports
      GET
    • 20 Get cities
      GET
    • 21 Get countries
      GET
  • HOTELS
    • REQUIRED
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Destination
      • 2 REQ Search
      • 3 REQ Receiving found hotels
      • 4 REQ Getting a Hotel Offer
      • 5 REQ Create order
      • 6 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Search
      • 3 OPT Destination point info
      • 4 OPT List of popular destinations Copy
      • 5 OPT List of filtered destinations
      • 6 OPT Group guide
      • 7 OPT Getting information on possible hotels
      • 8 OPT Getting the list of currencies
      • 9 REQ Receiving found hotels
      • 10 REQ Getting a Hotel Offer
      • 11 OPT Cancel-policies
      • 12 OPT Account number and info
      • 13 OPT Receiving information on the hotel offer
      • 14 OPT Receive detailed information about the cost of an offer
      • 15 REQ Create order
      • 16 OPT Receive hotel services
  1. AVIA

21 Get countries

GET
{{AVIA_URL}}/api/dictionaries/countries

Request

Query Params

Header Params

Responses

馃煝200/api/dictionaries/countries
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/dictionaries/countries?with_flag=1&per_page=10' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d'
Response Response Example
{
    "page": 1,
    "total": 237,
    "per_page": 15,
    "last_page": 16,
    "data": [
        {
            "id": 1,
            "code": "GW",
            "code_rus": "袚袙",
            "name": "Guinea Bissau",
            "citizenship_code": "GIN",
            "phone": 245,
            "locale": "EN",
            "max_phone_length": 7
        },
        {
            "id": 4,
            "code": "BF",
            "code_rus": "袘肖",
            "name": "Burkina Faso",
            "citizenship_code": "BFA",
            "phone": 226,
            "locale": "EN",
            "max_phone_length": 8
        },
        {
            "id": 7,
            "code": "ET",
            "code_rus": "袝孝",
            "name": "Ethiopia",
            "citizenship_code": "ETH",
            "phone": 251,
            "locale": "EN",
            "max_phone_length": 9
        },
        {
            "id": 10,
            "code": "MU",
            "code_rus": "袦校",
            "name": "Mauritius Island",
            "citizenship_code": "MUS",
            "phone": 230,
            "locale": "EN",
            "max_phone_length": 7
        },
        {
            "id": 13,
            "code": "TT",
            "code_rus": "孝孝",
            "name": "Trinidad And Tobago",
            "citizenship_code": "TTO",
            "phone": 1868,
            "locale": "EN",
            "max_phone_length": 7
        },
        {
            "id": 16,
            "code": "KR",
            "code_rus": "袣袨",
            "name": "Korea Republic",
            "citizenship_code": "KOR",
            "phone": 82,
            "locale": "EN",
            "max_phone_length": 10
        },
        {
            "id": 19,
            "code": "SL",
            "code_rus": "小袥",
            "name": "Sierra Leone",
            "citizenship_code": "SLE",
            "phone": 232,
            "locale": "EN",
            "max_phone_length": 8
        },
        {
            "id": 22,
            "code": "AN",
            "code_rus": "袗袧",
            "name": "Netherlands Antilles",
            "citizenship_code": "NLD",
            "phone": 599,
            "locale": "EN",
            "max_phone_length": 8
        },
        {
            "id": 25,
            "code": "LB",
            "code_rus": "袥袘",
            "name": "Lebanon",
            "citizenship_code": "LBN",
            "phone": 961,
            "locale": "EN",
            "max_phone_length": 8
        },
        {
            "id": 28,
            "code": "EG",
            "code_rus": "袝袚",
            "name": "Egypt",
            "citizenship_code": "EGY",
            "phone": 20,
            "locale": "EN",
            "max_phone_length": 10
        },
        {
            "id": 31,
            "code": "FM",
            "code_rus": "肖袦",
            "name": "Micronesia",
            "citizenship_code": "FSM",
            "phone": 691,
            "locale": "EN",
            "max_phone_length": 12
        },
        {
            "id": 34,
            "code": "IS",
            "code_rus": "袠小",
            "name": "Iceland",
            "citizenship_code": "ISL",
            "phone": 354,
            "locale": "EN",
            "max_phone_length": 7
        },
        {
            "id": 37,
            "code": "DJ",
            "code_rus": "袛袡",
            "name": "Djibouti",
            "citizenship_code": "DJI",
            "phone": 253,
            "locale": "EN",
            "max_phone_length": 12
        },
        {
            "id": 40,
            "code": "KG",
            "code_rus": "袣袚",
            "name": "Kyrgyzstan",
            "citizenship_code": "KGZ",
            "phone": 996,
            "locale": "EN",
            "max_phone_length": 9
        },
        {
            "id": 43,
            "code": "TW",
            "code_rus": "孝袙",
            "name": "Taiwan",
            "citizenship_code": "TWN",
            "phone": 886,
            "locale": "EN",
            "max_phone_length": 9
        }
    ]
}
Modified at聽2025-08-19 06:09:17
Previous
20 Get cities
Next
HOTELS
Built with