diadoc_write_method
Execute catalog write endpoints to create or update Diadoc data. Set confirm_write=true to send; nothing is sent without explicit confirmation.
Instructions
Execute one WRITE endpoint from the catalog: create or update data.
Target API: https://developer.kontur.ru/doc/diadoc-api.
Requires confirm_write=true; nothing is sent without it. Irreversible operations live in diadoc_delete_method, reads in diadoc_call_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. confirm_write: must be true. 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 | ||
| confirm_write | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |