ETS API
  1. OPTIONAL
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
        POST
      • 1 REQ B2C Login
        GET
      • 2 REQ Search
        POST
      • 3 OPT Destination point info
        GET
      • 4 OPT List of popular destinations Copy
        GET
      • 5 OPT List of filtered destinations
        GET
      • 6 OPT Group guide
        GET
      • 7 OPT Getting information on possible hotels
        GET
      • 8 OPT Getting the list of currencies
        GET
      • 9 REQ Receiving found hotels
        POST
      • 10 REQ Getting a Hotel Offer
        GET
      • 11 OPT Cancel-policies
        GET
      • 12 OPT Account number and info
        GET
      • 13 OPT Receiving information on the hotel offer
        GET
      • 14 OPT Receive detailed information about the cost of an offer
        GET
      • 15 REQ Create order
        POST
      • 16 OPT Receive hotel services
        GET
  1. OPTIONAL

1 REQ B2C Login

GET
{{HOTELS_URL}}/api/login/{{app_id}}

Request

Query Params

Header Params

Responses

🟢2001 Login B2C
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-hotels.etm-system.ru/api/login/{{app_id}}?locale=EN' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d'
Response Response Example
{
    "etm_auth_key": "3efc4f60938c54481782b0570d89ec9c",
    "locale": "EN",
    "currency": "EUR",
    "max_expiry_time": 1734107412,
    "max_timeout": 21600,
    "site": {
        "currency_for_psp": "currency_sale",
        "hide_banner": "N",
        "hide_header": "N",
        "hide_footer": "N",
        "hide_logo_reg": "N",
        "hide_preloader": "N",
        "products_statuses": {
            "avia": true,
            "hotels": false
        },
        "product_default": "avia",
        "b2c_currencies": [
            {
                "code": "EUR",
                "mark": "€",
                "name": {
                    "RU": "Евро"
                }
            }
        ],
        "b2c_languages": [
            {
                "code": "RU",
                "name": "Русский",
                "flag": "/img/countries/ru.svg"
            }
        ],
        "ui_currency": "EUR",
        "ui_locale": "RU",
        "currency_change": false,
        "locale_change": false,
        "socials": [],
        "background_images": [
            {
                "section": "avia",
                "code": "main_page",
                "image_uri": null,
                "default_image_uri": "/img/b2c/backgrounds_default/avia/main_page.jpg"
            },
            {
                "section": "jd",
                "code": "main_page",
                "image_uri": null,
                "default_image_uri": "/img/b2c/backgrounds_default/jd/main_page.jpg"
            },
            {
                "section": "hotels",
                "code": "main_page",
                "image_uri": null,
                "default_image_uri": "/img/b2c/backgrounds_default/hotels/main_page.jpg"
            }
        ],
        "header_logo": {
            "show": "Y",
            "logo_uri": null,
            "logo_link": "null",
            "default_logo_uri": "/img/b2c/logos_default/header.png"
        },
        "footer_logo": {
            "logo_uri": null,
            "default_logo_uri": "/img/b2c/logos_default/footer.png"
        },
        "text_blocks": [
            {
                "lang": "RU",
                "section": "avia",
                "code": "terms_of_use",
                "text": null
            },
            {
                "lang": "RU",
                "section": "avia",
                "code": "personal_data_agree",
                "text": null
            },
            {
                "lang": "RU",
                "section": "jd",
                "code": "terms_of_use",
                "text": null
            },
            {
                "lang": "RU",
                "section": "jd",
                "code": "personal_data_agree",
                "text": null
            },
            {
                "lang": "RU",
                "section": "hotels",
                "code": "terms_of_use",
                "text": null
            },
            {
                "lang": "RU",
                "section": "hotels",
                "code": "personal_data_agree",
                "text": null
            },
            {
                "lang": "RU",
                "section": "policies",
                "code": "terms_of_use",
                "text": null
            },
            {
                "lang": "RU",
                "section": "policies",
                "code": "personal_data_agree",
                "text": null
            }
        ],
        "ad_banner": {
            "type": "default",
            "image_uri": "/img/b2c/search_banner_preview.png"
        },
        "title": "TEST API ETS International",
        "header_block": {
            "show": "N",
            "html": ""
        },
        "footer_block": {
            "show": "N",
            "html": ""
        },
        "avia": {
            "mile_card": "N",
            "send_tkp_receipt": "N"
        },
        "tech_emails": [
            "support@etsgroup.travel"
        ],
        "hide_checkbox_direct": "N",
        "ett_endpoint": "",
        "ett_widget_id": "",
        "ett_api_key": "",
        "ett_contract_id": ""
    },
    "agent": {
        "id": 37594,
        "usertype": "consolidator",
        "company": "TEST API ETS International",
        "country": "Россия",
        "country_code": "RU",
        "city": "Нюрнберг",
        "address": "Farbershtrasse",
        "zip": "0015",
        "email": "support@etsgroup.travel",
        "phone": "9483889922",
        "support_phone": "",
        "support_email": "support@etsgroup.travel"
    }
}
Modified at 2025-08-19 06:12:46
Previous
1 REQ B2B Login
Next
2 REQ Search
Built with