---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - https://fleet.yandex.ru/docs/api/en/openapi/ContractorProfiles/v1CitizenshipsList.md
  - https://fleet.yandex.ru/docs/api/ru/openapi/ContractorProfiles/v1CitizenshipsList.md
  - href: https://fleet.yandex.ru/docs/api/ru/openapi/ContractorProfiles/v1CitizenshipsList.md
    type: text/markdown
    title: Markdown version
  - href: https://fleet.yandex.ru/docs/api/ru/llms.txt?revision=r21515713
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://fleet.yandex.ru/docs/api/ru/llms.txt?revision=r21515713

<div class="openapi">

#  Список гражданств, доступных для найма курьеров Еды в заданном регионе 

<!-- markdownlint-disable-file -->

 Получение списка гражданств исполнителей, доступных для найма Еды в данном регионе 

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://fleet-api.taxi.yandex.net/v1/eats/citizenships/list
```

</div>

</div>

</div>

### Headers

#|
|| **Name** | **Description** ||
||

_Accept-Language_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Предпочитаемый язык ответа 

_Min length:_{.json-schema-reset .json-schema-assertion} `2`

_Example:_{.json-schema-reset .json-schema-example} `ru`
{.table-cell}
||
||

_X-API-Key_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 API-ключ 

_Min length:_{.json-schema-reset .json-schema-assertion} `1`

_Example:_{.json-schema-reset .json-schema-example} `<API-ключ>`
{.table-cell}
||
||

_X-Client-ID_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Идентификатор клиента 

_Min length:_{.json-schema-reset .json-schema-assertion} `1`

_Example:_{.json-schema-reset .json-schema-example} `<Идентификатор клиента>`
{.table-cell}
||
||

_X-Park-ID_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Идентификатор партнера 

_Example:_{.json-schema-reset .json-schema-example} `ee6f33c4562b4e1f8646d157bd70b2c4`
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "employment_type": "park_direct",
  "geobase_id": 1
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_employment_type_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Тип занятости. Может быть park_direct (ПСМЗ) или courier_service (Парковый исполнитель в терминах Fleet) 

_Enum:_{.json-schema-reset .json-schema-value} `park_direct`, `courier_service`
{.table-cell}
||
||

_geobase_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

 Идентификатор региона в геобазе. Гражданства, недоступные в данном регионе при выбранном типе занятости, не будут возвращены 
{.table-cell}
||
|#{.json-schema-properties}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

 Список гражданств, доступных для найма Еды 

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "citizenships": [
    {
      "citizenship_code2": "RU",
      "name": "Russian Federation"
    }
  ]
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_citizenships_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [Citizenship](#entity-Citizenship)[]

 Список гражданств исполнителей, доступных для найма Еды. Гражданства отсортированы по полю 'name' 

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "citizenship_code2": "RU",
    "name": "Russian Federation"
  }
]
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### Citizenship {#entity-Citizenship}

#|
|| **Name** | **Description** ||
||

_citizenship_code2_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Код страны в формате ISO 3166-1 alpha-2 

_Pattern:_{.json-schema-reset .json-schema-assertion} `^[A-Z]{2}$`

_Example:_{.json-schema-reset .json-schema-example} `RU`
{.table-cell}
||
||

_name_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Локализованное название гражданства 

_Example:_{.json-schema-reset .json-schema-example} `Russian Federation`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "citizenship_code2": "RU",
  "name": "Russian Federation"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

 Некорректные параметры запроса 

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "example",
  "message": "Текстовое описание ошибки"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Человекочитаемое сообщение об ошибке 

_Example:_{.json-schema-reset .json-schema-example} `Текстовое описание ошибки`
{.table-cell}
||
||

_code_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

 Машиночитаемый код ошибки 

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__422">

## 422 Unprocessable Entity

 Некорректные параметры запроса 

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "example",
  "message": "Текстовое описание ошибки"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

 Человекочитаемое сообщение об ошибке 

_Example:_{.json-schema-reset .json-schema-example} `Текстовое описание ошибки`
{.table-cell}
||
||

_code_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

 Машиночитаемый код ошибки 

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.