---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - https://fleet.yandex.ru/docs/api/en/openapi/DriverWorkRules/v1parksdriver-work-rules-get.md
  - https://fleet.yandex.ru/docs/api/ru/openapi/DriverWorkRules/v1parksdriver-work-rules-get.md
  - href: https://fleet.yandex.ru/docs/api/ru/openapi/DriverWorkRules/v1parksdriver-work-rules-get.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-get);margin-bottom: 12px">

<div class="openapi__request">

GET {.openapi__method}
```text translate=no
https://fleet-api.taxi.yandex.net/v1/parks/driver-work-rules
```

</div>

</div>

</div>

### Query parameters

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

_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}

### 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}
||
|#{.json-schema-properties}

## Responses

<div class="openapi__response__code__200">

## 200 OK

 Список условий работы 

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "rules": [
    {
      "id": "06640a5568bf4c238324d34fd1769a64",
      "is_enabled": true,
      "name": "Штатный"
    }
  ]
}
```

{% endcut %}

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

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

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

```json translate=no
[
  {
    "id": "06640a5568bf4c238324d34fd1769a64",
    "is_enabled": true,
    "name": "Штатный"
  }
]
```

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

</div>

<div class="openapi-entity">

### DriverWorkRuleId {#entity-DriverWorkRuleId}

 Идентификатор условия работы 

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `06640a5568bf4c238324d34fd1769a64`

</div>

<div class="openapi-entity">

### DriverWorkRule {#entity-DriverWorkRule}

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

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

 Идентификатор условия работы 

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

_is_enabled_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: boolean

 Включено ли условие работы 
{.table-cell}
||
||

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

 Название условия работы 

_Example:_{.json-schema-reset .json-schema-example} `Штатный`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "id": "06640a5568bf4c238324d34fd1769a64",
  "is_enabled": true,
  "name": "Штатный"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### DriverWorkRules {#entity-DriverWorkRules}

**Type**: [DriverWorkRule](#entity-DriverWorkRule)[]

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

```json translate=no
[
  {
    "id": "06640a5568bf4c238324d34fd1769a64",
    "is_enabled": true,
    "name": "Штатный"
  }
]
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

 Отсутствуют параметры авторизации запроса 

<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__403">

## 403 Forbidden

 Недостаточно прав для выполнения запроса 

<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__429">

## 429 Too Many Requests

 Превышено допустимое число запросов 

<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__500">

## 500 Internal Server Error

 Внутренняя ошибка сервера 

<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.