diadoc_call_method
Execute a read-only Diadoc API operation by its catalog ID to retrieve document exchange data, status, or other information without altering any records.
Instructions
Execute one READ endpoint from the catalog by operation_id.
Target API: https://developer.kontur.ru/doc/diadoc-api.
Reads only: nothing here changes data, so it runs without confirmation. To change data use diadoc_write_method, to delete use diadoc_delete_method.
Args: operation_id: id from the catalog (see diadoc_search_methods). path_values: values for {placeholders} in the path. query: query-string parameters. body: JSON request body (a few read endpoints take one). Returns JSON: {"ok": true, "status", "data"} or the error envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| query | No | ||
| path_values | No | ||
| operation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |