---
metadata:
  - name: generator
    content: Diplodoc Platform v5.70.0
vcsPath: >-
  motorway/magacg/support/docs/src/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md
alternate:
  - href: >-
      https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md
    type: text/markdown
    title: Markdown version
  - href: https://yamagistrali.ru/docs/ru-x-ai/llms.txt
    rel: describedby
---
<div class="openapi">

# Получить список файлов заказа со стороны исполнителя

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

[Порядок работы для агента](https://yamagistrali.ru/docs/ru-x-ai/concepts/agent-workflow.md) · [Методы API и схема OpenAPI](https://yamagistrali.ru/docs/ru-x-ai/methods/index.md).

## Назначение

Получите список файлов и печатных форм заказа со стороны исполнителя. Передайте `data.orderId` и `data.orgId`. Для скачивания выберите запись из списка готовых файлов.

> Блоки запроса и ответов ниже сгенерированы из OpenAPI. Подстановки вроде `example` показывают структуру JSON. Для вызова возьмите значения из сценария, справочников или предыдущих ответов API.

## 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://partner-test-yamagistrali.ru/api/orders/file/listForExecutor/v0
```

</div>

Тестовый стенд

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "data": {
    "hideArchive": true,
    "orderId": "example",
    "orgId": "example"
  }
}
```

{% endcut %}

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

_data_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0Request](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0Request)

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

```json translate=no
{
  "hideArchive": true,
  "orderId": "example",
  "orgId": "example"
}
```

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

</div>

<div class="openapi-entity">

### OrdersFileListForExecutorV0Request {#entity-OrdersFileListForExecutorV0Request}

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

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

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

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

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

_hideArchive_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "hideArchive": true,
  "orderId": "example",
  "orgId": "example"
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "data": {
    "conditionsTemplatePrintForms": [
      {
        "format": "example",
        "genFileAvailable": true,
        "generatedFileName": "example",
        "generationDocAvailable": true,
        "id": "example",
        "name": "example"
      }
    ],
    "conditionsTemplateRegularFiles": [
      {
        "created_at": {
          "displayTZ": "+03:00",
          "time": "2020-01-01T00:00:00"
        },
        "id": "example",
        "name": "example"
      }
    ],
    "orderPrintForms": [
      null
    ],
    "orderRegularFiles": [
      null
    ],
    "systemConditionsTemplatePrintForms": [
      null
    ],
    "systemConditionsTemplateRegularFiles": [
      null
    ]
  }
}
```

{% endcut %}

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

_data_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0Response](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0Response)

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

```json translate=no
{
  "conditionsTemplatePrintForms": [
    {
      "format": "example",
      "genFileAvailable": true,
      "generatedFileName": "example",
      "generationDocAvailable": true,
      "id": "example",
      "name": "example"
    }
  ],
  "conditionsTemplateRegularFiles": [
    {
      "created_at": {
        "displayTZ": "+03:00",
        "time": "2020-01-01T00:00:00"
      },
      "id": "example",
      "name": "example"
    }
  ],
  "orderPrintForms": [
    null
  ],
  "orderRegularFiles": [
    null
  ],
  "systemConditionsTemplatePrintForms": [
    null
  ],
  "systemConditionsTemplateRegularFiles": [
    null
  ]
}
```

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

</div>

<div class="openapi-entity">

### OrdersFileListForExecutorV0PrintForm {#entity-OrdersFileListForExecutorV0PrintForm}

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

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

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

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

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

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

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

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

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

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

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

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

```json translate=no
{
  "format": "example",
  "genFileAvailable": true,
  "generatedFileName": "example",
  "generationDocAvailable": true,
  "id": "example",
  "name": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### TimestampTZOutput {#entity-TimestampTZOutput}

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

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

_Example:_{.json-schema-reset .json-schema-example} `+03:00`
{.table-cell}
||
||

_time_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

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

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

```json translate=no
{
  "displayTZ": "+03:00",
  "time": "2020-01-01T00:00:00"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrdersFileListForExecutorV0RegularFile {#entity-OrdersFileListForExecutorV0RegularFile}

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

_created_at_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [TimestampTZOutput](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-TimestampTZOutput)

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

```json translate=no
{
  "displayTZ": "+03:00",
  "time": "2020-01-01T00:00:00"
}
```

{% endcut %}
{.table-cell}
||
||

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

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

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

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

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

```json translate=no
{
  "created_at": {
    "displayTZ": "+03:00",
    "time": "2020-01-01T00:00:00"
  },
  "id": "example",
  "name": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrdersFileListForExecutorV0Response {#entity-OrdersFileListForExecutorV0Response}

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

_conditionsTemplatePrintForms_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0PrintForm](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0PrintForm)[] &#124; null

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

```json translate=no
[
  {
    "format": "example",
    "genFileAvailable": true,
    "generatedFileName": "example",
    "generationDocAvailable": true,
    "id": "example",
    "name": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_conditionsTemplateRegularFiles_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0RegularFile](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0RegularFile)[] &#124; null

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

```json translate=no
[
  {
    "created_at": {
      "displayTZ": "+03:00",
      "time": "2020-01-01T00:00:00"
    },
    "id": "example",
    "name": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_orderPrintForms_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0PrintForm](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0PrintForm)[] &#124; null

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

```json translate=no
[
  {
    "format": "example",
    "genFileAvailable": true,
    "generatedFileName": "example",
    "generationDocAvailable": true,
    "id": "example",
    "name": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_orderRegularFiles_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0RegularFile](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0RegularFile)[] &#124; null

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

```json translate=no
[
  {
    "created_at": {
      "displayTZ": "+03:00",
      "time": "2020-01-01T00:00:00"
    },
    "id": "example",
    "name": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_systemConditionsTemplatePrintForms_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0PrintForm](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0PrintForm)[] &#124; null

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

```json translate=no
[
  {
    "format": "example",
    "genFileAvailable": true,
    "generatedFileName": "example",
    "generationDocAvailable": true,
    "id": "example",
    "name": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_systemConditionsTemplateRegularFiles_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [OrdersFileListForExecutorV0RegularFile](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-OrdersFileListForExecutorV0RegularFile)[] &#124; null

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

```json translate=no
[
  {
    "created_at": {
      "displayTZ": "+03:00",
      "time": "2020-01-01T00:00:00"
    },
    "id": "example",
    "name": "example"
  }
]
```

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

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

```json translate=no
{
  "conditionsTemplatePrintForms": [
    {
      "format": "example",
      "genFileAvailable": true,
      "generatedFileName": "example",
      "generationDocAvailable": true,
      "id": "example",
      "name": "example"
    }
  ],
  "conditionsTemplateRegularFiles": [
    {
      "created_at": {
        "displayTZ": "+03:00",
        "time": "2020-01-01T00:00:00"
      },
      "id": "example",
      "name": "example"
    }
  ],
  "orderPrintForms": [
    null
  ],
  "orderRegularFiles": [
    null
  ],
  "systemConditionsTemplatePrintForms": [
    null
  ],
  "systemConditionsTemplateRegularFiles": [
    null
  ]
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Bad Request

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": {
    "info": {},
    "message": "example",
    "message_code": "example"
  }
}
```

{% endcut %}

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

_error_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [Error](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-Error)

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

```json translate=no
{
  "info": {},
  "message": "example",
  "message_code": "example"
}
```

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

</div>

<div class="openapi-entity">

### Error {#entity-Error}

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

_info_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: object

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

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
||

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

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

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

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

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

```json translate=no
{
  "info": {},
  "message": "example",
  "message_code": "example"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

Forbidden

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": {
    "info": {},
    "message": "example",
    "message_code": "example"
  }
}
```

{% endcut %}

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

_error_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [Error](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-Error)

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

```json translate=no
{
  "info": {},
  "message": "example",
  "message_code": "example"
}
```

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

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Internal Server Error

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": {
    "info": {},
    "message": "example",
    "message_code": "example"
  }
}
```

{% endcut %}

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

_error_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [Error](https://yamagistrali.ru/docs/ru-x-ai/methods/post-api-orders-file-listforexecutor-v0.md#entity-Error)

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

```json translate=no
{
  "info": {},
  "message": "example",
  "message_code": "example"
}
```

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

</div>

</div>

</div>

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