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

5 Documents types for offer

GET
{{AVIA_URL}}/api/documents/types/site

Request

Query Params

Header Params

Responses

🟢2004 Documents types for offer
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/documents/types/site?locale=RU&pid={{pcc_id}}' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json'
Response Response Example
{
    "data": [
        {
            "id": 2,
            "code": "PSP",
            "custom": "P",
            "citizen": "RU",
            "name": "Заграничный паспорт",
            "attributes": []
        },
        {
            "id": 4,
            "code": "PS",
            "custom": "P",
            "citizen": "RU",
            "name": "Национальный паспорт",
            "attributes": []
        },
        {
            "id": 6,
            "code": "ZC",
            "custom": "P",
            "citizen": "OTHER",
            "name": "Заграничный паспорт",
            "attributes": []
        },
        {
            "id": 7,
            "code": "NP",
            "custom": "P",
            "citizen": "OTHER",
            "name": "Национальный паспорт",
            "attributes": [
                {
                    "id": 76,
                    "code": "LastName",
                    "name": "Фамилия",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 77,
                    "code": "FirstName",
                    "name": "Имя",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 78,
                    "code": "MiddleName",
                    "name": "Отчество",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 132,
                    "code": "DocumentSeries",
                    "name": "Серия",
                    "config": {
                        "type": "string",
                        "max": 16
                    }
                },
                {
                    "id": 10,
                    "code": "DocumentNumber",
                    "name": "Номер документа",
                    "config": {
                        "type": "string",
                        "min": 1,
                        "max": 17
                    }
                }
            ]
        },
        {
            "id": 8,
            "code": "SR",
            "custom": "I",
            "citizen": "ALL",
            "name": "Свидетельство о рождении",
            "attributes": [
                {
                    "id": 79,
                    "code": "LastName",
                    "name": "Фамилия",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 80,
                    "code": "FirstName",
                    "name": "Имя",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 81,
                    "code": "MiddleName",
                    "name": "Отчество",
                    "config": {
                        "type": "string"
                    }
                },
                {
                    "id": 133,
                    "code": "DocumentSeries",
                    "name": "Серия",
                    "config": {
                        "type": "string",
                        "max": 16
                    }
                },
                {
                    "id": 12,
                    "code": "DocumentNumber",
                    "name": "Номер документа",
                    "config": {
                        "type": "string",
                        "min": 1,
                        "max": 17
                    }
                }
            ]
        }
    ]
}
Modified at 2025-08-18 09:37:49
Previous
4B Smart Offer Request optional
Next
6 Offer info UPD LATER
Built with