1. AVIA
ETS API
  • Try it and Run in ApiDog
  • AVIA API Documentation
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login Token (PREFERRED)
      POST
    • 1 REQ B2B Login (TO BE REMOVED, USE TOKEN LOGIN)
      POST
    • 1 REQ B2C Login
      GET
    • 2A Search Direct flight
      POST
    • 2C Search Round trip
      POST
    • 2B Search Multi-City
      POST
    • 3 Schedule - Amadeus optional
      POST
    • 4 Offers request
      GET
    • 4B Smart Offer Request optional
      GET
    • 4C Offer Rules
      GET
    • 5 Documents types for offer
      GET
    • 6 Offer info
      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 methods
      POST
    • 13 Order payment
      POST
    • 14 Сheckout status
      GET
    • 15 Refund order
      GET
    • 16 Get order info
      GET
    • 17 Print E-Tiket
      GET
    • 18 Receiving a cancellation fee
      GET
    • 19 Cancel Order
      GET
    • 20 Get airports
      GET
    • 21 Get cities
      GET
    • 22 Get countries
      GET
    • 23 Get counterparties info
      GET
    • 24 Get list of countries for citizenship
      GET
    • 25 Get list of country dialing codes
      GET
    • 26 List of contracts
      POST
    • 27 List of agents
      GET
    • 28 User personal information
      GET
  • HOTELS
    • REQUIRED
      • 1A REQ B2B Login
      • 1B REQ B2B Login Token
      • 1C REQ B2C Login
      • 2 REQ Destination
      • 3 REQ Search
      • 4 REQ Receiving found hotels
      • 5 REQ Getting a Hotel Offer
      • 6 REQ Create order
      • 7 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
      • 1B REQ B2B Login Token Copy
      • 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
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. AVIA

26 List of contracts

POST
{{AVIA_URL}}/api/agreements/list
This method allows you to view a list of contracts.
You can add a status parameter.
Contract statuses can be as follows:
{
    "data": {
        "N": "New",
        "A": "Active",
        "X": "Blocked",
        "C": "Closed",
        "D": "Deleted"
    }
}

Request

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff --request POST 'https://stage-api.etm-system.ru/api/agreements/list' \
--header 'Accept: application/json' \
--header 'Etm-Auth-Key: ' \
--header 'Content-Type: application/json'
Response Response Example
{
    "data": [
        {
            "id": 4159,
            "base_id": null,
            "number": "2312312312",
            "owner_id": 38755,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 215,
            "status": "A",
            "currency_code": "EUR",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-02-27T11:42:06.000000Z",
            "updated_at": "2026-06-15T05:36:45.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "P",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4159,
            "total": "-24520.00",
            "status_name": "Active",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 215,
                "name": "Charter Supplier",
                "description": "Charter Supplier",
                "consolidator_id": 0,
                "created_at": "2021-01-22T12:39:38.000000Z",
                "updated_at": "2021-01-22T12:40:14.000000Z"
            },
            "current_period": [
                {
                    "id": 199332,
                    "agreement_id": 4159,
                    "credit": "0.00",
                    "date_from": "2026-06-30T22:00:00.000000Z",
                    "date_to": "2026-07-30T22:00:00.000000Z",
                    "due_date": "2026-08-28T22:00:00.000000Z",
                    "is_paid": false,
                    "created_at": "2026-02-10T14:06:53.000000Z",
                    "updated_at": "2026-02-10T14:06:53.000000Z",
                    "period_type": "current"
                }
            ],
            "relation": "O_P",
            "company": "Charter Supplier",
            "date_start": "2024-02-26",
            "date_end": "2027-02-26",
            "balance": "-24520.00",
            "credit": "0.00",
            "available": 0
        },
        {
            "id": 4164,
            "base_id": null,
            "number": "13123213",
            "owner_id": 38755,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 246,
            "status": "C",
            "currency_code": "UZS",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": null,
            "updated_at": null,
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "P",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 0,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": null,
            "total": null,
            "status_name": "Closed",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 246,
                "name": "TravelPort",
                "description": null,
                "consolidator_id": 0,
                "created_at": "2021-07-18T08:01:33.000000Z",
                "updated_at": "2024-04-20T10:55:20.000000Z"
            },
            "current_period": [],
            "relation": "O_P",
            "company": "TravelPort",
            "date_start": "2024-03-12",
            "date_end": "2024-04-30",
            "balance": null,
            "credit": 0,
            "available": 0
        },
        {
            "id": 4173,
            "base_id": null,
            "number": "12345",
            "owner_id": 38755,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 242,
            "status": "X",
            "currency_code": "UZS",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-03-25T06:39:34.000000Z",
            "updated_at": "2024-03-25T06:39:34.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "P",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4173,
            "total": "100000.00",
            "status_name": "Blocked",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 242,
                "name": "U6 NDC",
                "description": "Ural Airlines",
                "consolidator_id": 0,
                "created_at": "2021-06-03T12:36:11.000000Z",
                "updated_at": "2021-12-31T09:23:42.000000Z"
            },
            "current_period": [
                {
                    "id": 164091,
                    "agreement_id": 4173,
                    "credit": "0.00",
                    "date_from": "2026-06-30T22:00:00.000000Z",
                    "date_to": "2026-07-30T22:00:00.000000Z",
                    "due_date": "2026-08-28T22:00:00.000000Z",
                    "is_paid": false,
                    "created_at": "2024-03-19T12:10:16.000000Z",
                    "updated_at": "2024-03-19T12:10:17.000000Z",
                    "period_type": "current"
                }
            ],
            "relation": "O_P",
            "company": "U6 NDC",
            "date_start": "2024-03-20",
            "date_end": "2030-03-20",
            "balance": "100000.00",
            "credit": "0.00",
            "available": 0
        },
        {
            "id": 4183,
            "base_id": null,
            "number": "55577744",
            "owner_id": 38794,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 360,
            "status": "C",
            "currency_code": "EUR",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": null,
            "updated_at": null,
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "parent_address",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "O",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": null,
            "total": null,
            "status_name": "Closed",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 360,
                "name": "name",
                "description": "description",
                "consolidator_id": 38755,
                "created_at": "2024-03-21T12:50:16.000000Z",
                "updated_at": "2025-01-15T13:49:15.000000Z"
            },
            "current_period": [],
            "relation": "O_O",
            "company": "company",
            "date_start": "2024-03-21",
            "date_end": "2026-04-25",
            "balance": null,
            "credit": 0,
            "available": 0
        },
        {
            "id": 4185,
            "base_id": null,
            "number": "787878",
            "owner_id": 38755,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 1,
            "status": "A",
            "currency_code": "USD",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-03-22T08:05:45.000000Z",
            "updated_at": "2026-07-21T07:34:55.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "P",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4185,
            "total": "-36524296.07",
            "status_name": "Active",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 1,
                "name": "BSP",
                "description": "BSP",
                "consolidator_id": 0,
                "created_at": null,
                "updated_at": "2025-09-17T13:15:45.000000Z"
            },
            "current_period": [
                {
                    "id": 201771,
                    "agreement_id": 4185,
                    "credit": "0.00",
                    "date_from": "2026-06-30T22:00:00.000000Z",
                    "date_to": "2026-07-30T22:00:00.000000Z",
                    "due_date": "2026-08-28T22:00:00.000000Z",
                    "is_paid": false,
                    "created_at": "2026-03-01T02:01:19.000000Z",
                    "updated_at": "2026-03-01T02:01:19.000000Z",
                    "period_type": "current"
                }
            ],
            "relation": "O_P",
            "company": "BSP",
            "date_start": "2024-03-21",
            "date_end": "2027-03-31",
            "balance": "-36524296.07",
            "credit": "0.00",
            "available": 0
        },
        {
            "id": 4194,
            "base_id": null,
            "number": "111567",
            "owner_id": 38755,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 242,
            "status": "A",
            "currency_code": "USD",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-03-25T12:36:51.000000Z",
            "updated_at": "2026-07-01T03:50:59.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "P",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4194,
            "total": "-1197692.00",
            "status_name": "Active",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 242,
                "name": "U6 NDC",
                "description": "Ural Airlines",
                "consolidator_id": 0,
                "created_at": "2021-06-03T12:36:11.000000Z",
                "updated_at": "2021-12-31T09:23:42.000000Z"
            },
            "current_period": [
                {
                    "id": 201723,
                    "agreement_id": 4194,
                    "credit": "0.00",
                    "date_from": "2026-06-30T22:00:00.000000Z",
                    "date_to": "2026-07-30T22:00:00.000000Z",
                    "due_date": "2026-08-28T22:00:00.000000Z",
                    "is_paid": false,
                    "created_at": "2026-03-01T02:01:09.000000Z",
                    "updated_at": "2026-03-01T02:01:09.000000Z",
                    "period_type": "current"
                }
            ],
            "relation": "O_P",
            "company": "U6 NDC",
            "date_start": "2024-03-22",
            "date_end": "2027-03-26",
            "balance": "-1197692.00",
            "credit": "0.00",
            "available": 0
        },
        {
            "id": 4195,
            "base_id": 4183,
            "number": "22277744",
            "owner_id": 38794,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 360,
            "status": "C",
            "currency_code": "EUR",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-03-25T12:36:51.000000Z",
            "updated_at": "2024-04-23T07:14:05.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "parent_address",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "O",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4195,
            "total": "0.00",
            "status_name": "Closed",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 360,
                "name": "name",
                "description": "description",
                "consolidator_id": 38755,
                "created_at": "2024-03-21T12:50:16.000000Z",
                "updated_at": "2025-01-15T13:49:15.000000Z"
            },
            "current_period": [],
            "relation": "O_O",
            "company": "company",
            "date_start": "2024-03-21",
            "date_end": "2026-04-25",
            "balance": "0.00",
            "credit": 0,
            "available": 0
        },
        {
            "id": 4212,
            "base_id": null,
            "number": "bsn-8068",
            "owner_id": 38794,
            "parent_id": null,
            "author_id": 38755,
            "supplier_id": 360,
            "status": "A",
            "currency_code": "UZS",
            "billing_cycle": 1,
            "billing_cycle_unit_code": "month",
            "payment_days": 30,
            "bank_name": "",
            "bank_bik": "",
            "bank_account": "",
            "bank_cor_account": "",
            "bank_mfo": "",
            "bank_okpo": "",
            "created_at": "2024-09-02T10:22:15.000000Z",
            "updated_at": "2024-09-04T07:01:27.000000Z",
            "owner_fio": "",
            "owner_address": "owner_address",
            "owner_kpp": "",
            "owner_inn": "",
            "parent_fio": "",
            "parent_address": "parent_address",
            "parent_kpp": "",
            "parent_inn": "",
            "type": "O",
            "credit_advance": "0.00",
            "deposit": "0.00",
            "unlimited": 1,
            "settlements_control": 0,
            "prolongation": 1,
            "allow_searching": 0,
            "export_contract": 0,
            "control": 0,
            "control1": 0,
            "control2": 0,
            "control3": 0,
            "balance_notifications": 0,
            "agreement_id": 4212,
            "total": "-12680.00",
            "status_name": "Active",
            "cycle_unit_name": "Month",
            "supplier": {
                "id": 360,
                "name": "name",
                "description": "description",
                "consolidator_id": 38755,
                "created_at": "2024-03-21T12:50:16.000000Z",
                "updated_at": "2025-01-15T13:49:15.000000Z"
            },
            "current_period": [
                {
                    "id": 201699,
                    "agreement_id": 4212,
                    "credit": "0.00",
                    "date_from": "2026-06-30T22:00:00.000000Z",
                    "date_to": "2026-07-30T22:00:00.000000Z",
                    "due_date": "2026-08-28T22:00:00.000000Z",
                    "is_paid": false,
                    "created_at": "2026-03-01T02:01:04.000000Z",
                    "updated_at": "2026-03-01T02:01:04.000000Z",
                    "period_type": "current"
                }
            ],
            "relation": "O_O",
            "company": "company",
            "date_start": "2024-03-28",
            "date_end": "2027-03-31",
            "balance": "-12680.00",
            "credit": "0.00",
            "available": 0
        }
    ],
    "meta": {
        "pagination": {
            "total": 220,
            "count": 20,
            "per_page": 20,
            "current_page": 1,
            "total_pages": 11,
            "links": {
                "next": "https://stage-api.etm-system.ru/api/agreements/list?page=2"
            }
        }
    }
}
Modified at 2026-07-21 14:02:56
Previous
25 Get list of country dialing codes
Next
27 List of agents
Built with