diff --git a/.tasks/570/plan.md b/.tasks/570/plan.md new file mode 100644 index 00000000..adb34d23 --- /dev/null +++ b/.tasks/570/plan.md @@ -0,0 +1,353 @@ +# Plan: Add support for catalog.ratio.* (issue #570) + +## Context + +Bitrix24 REST API scope `catalog.ratio.*` exposes measurement-unit ratio ("коэффициент единицы +измерения") entities linking a product (`productId`) to a measure ratio value. The scope exposes +exactly three read-only methods — there is no `add`, `update`, or `delete`: + +- `catalog.ratio.get` — https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get.html +- `catalog.ratio.list` — https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-list.html +- `catalog.ratio.getFields` — https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get-fields.html + +### API details (from Bitrix24 MCP method-details) + +**`catalog.ratio.get`** +- params: `id` (int, required) +- response: `{"result": {"ratio": {...}}}` +- fields example: `id` (int), `isDefault` (Y/N char), `productId` (int), `ratio` (double/float) + +**`catalog.ratio.list`** +- documented params: `select` (array, optional), `filter` (object, optional). Decision: mirror + `Extra::list(array $select = [], array $filter = [])` exactly — Extra is the closest read-only, + no-CRUD analog in this SDK and its `list()` intentionally omits `order`/`start` since neither + is part of the documented parameter list for that scope either. +- response: `{"result": {"ratios": [{...}]}, "total": N}` + +**`catalog.ratio.getFields`** +- no params +- response: `{"result": {"ratio": {"id": {...}, "isDefault": {...}, "productId": {...}, "ratio": {...}}}}` + +### Chosen template: `src/Services/Catalog/Extra/` + +`catalog.extra.*` is the closest existing analog in this codebase: read-only scope with exactly +`get`, `list`, `getFields`, no `add`/`update`/`delete`, no `Batch` class needed. `Ratio` will +mirror this file-for-file: + +- `Service::get(int $id)` — guards positive id via `AbstractService::guardPositiveId()`, calls + `catalog.ratio.get`, returns `RatioResult` +- `Service::list(array $select = [], array $filter = [])` — calls `catalog.ratio.list`, returns + `RatiosResult` +- `Service::fields(): FieldsResult` — calls `catalog.ratio.getFields`, reuses the shared + `Bitrix24\SDK\Core\Result\FieldsResult` (same as `Extra::fields()`) rather than a custom + `RatioFieldsResult`, since the raw response is only ever read via `getFieldsDescription()` + and no per-field key normalization is needed. + +### Result item fields (`RatioItemResult`) + +Based on the `catalog.ratio.get`/`getFields` documented response: + +``` +@property-read int $id // integer, read-only +@property-read bool $isDefault // char Y/N -> bool +@property-read int $productId // integer, required +@property-read float $ratio // double, required +``` + +`AbstractAnnotatedItem` casts `Y`/`N` automatically to bool and numeric strings to int/float, so +no manual `__get()` override or `AbstractCrmItem`-style casting is needed (this is not a CRM +scope). + +### Deptrac compliance + +New code lives entirely under `src/Services/Catalog/Ratio/` (`Services` layer), importing only +from `Core` (`AbstractAnnotatedItem`, `AbstractResult`, `FieldsResult`, `BaseException`, +`TransportException`, `Scope`) and `Services\AbstractService` — same dependency shape as +`Extra`. No new deptrac violations. + +--- + +## Files to Create + +### 1. `src/Services/Catalog/Ratio/Result/RatioItemResult.php` + +```php +getCoreResponse()->getResponseData()->getResult()['ratio']); + } +} +``` + +### 3. `src/Services/Catalog/Ratio/Result/RatiosResult.php` + +```php +getCoreResponse()->getResponseData()->getResult()['ratios'] as $item) { + $items[] = new RatioItemResult($item); + } + + return $items; + } + + /** + * @throws BaseException + */ + public function getTotal(): int + { + return $this->getCoreResponse()->getResponseData()->getPagination()->getTotal() ?? 0; + } +} +``` + +### 4. `src/Services/Catalog/Ratio/Service/Ratio.php` + +```php +guardPositiveId($id); + + return new RatioResult($this->core->call('catalog.ratio.get', ['id' => $id])); + } + + /** + * Returns a list of measurement unit ratios from the catalog matching the given filter. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-list.html + * + * @param string[] $select + * @param array $filter + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.ratio.list', + 'https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-list.html', + 'Returns a list of measurement unit ratios from the catalog matching the given filter.' + )] + public function list(array $select = [], array $filter = []): RatiosResult + { + return new RatiosResult($this->core->call('catalog.ratio.list', [ + 'select' => $select, + 'filter' => $filter, + ])); + } + + /** + * Returns the available fields of a measurement unit ratio. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get-fields.html + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.ratio.getFields', + 'https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get-fields.html', + 'Returns the available fields of a measurement unit ratio.' + )] + public function fields(): FieldsResult + { + return new FieldsResult($this->core->call('catalog.ratio.getFields')); + } +} +``` + +### 5. `tests/Unit/Services/Catalog/Ratio/Service/RatioTest.php` + +Mirrors `tests/Unit/Services/Catalog/Extra/Service/ExtraTest.php`: +- `testGetReturnsRatioResult` — `assertInstanceOf(RatioResult::class, $service->get(1))` +- `testListReturnsRatiosResult` — `assertInstanceOf(RatiosResult::class, $service->list())` +- `testFieldsReturnsFieldsResult` — `assertInstanceOf(FieldsResult::class, $service->fields())` +- `testGetThrowsOnNonPositiveId` — expects `InvalidArgumentException` on `get(0)` + +Uses `NullCore` + `NullLogger`, `#[CoversClass(Ratio::class)]`. + +### 6. `tests/Integration/Services/Catalog/Ratio/Service/RatioTest.php` + +Mirrors `tests/Integration/Services/Catalog/Extra/Service/ExtraTest.php`: +- `setUp()` via `Factory::getServiceBuilder()->getCatalogScope()->ratio()` +- `testGetFields()` — asserts `ratio` key present with `id`, `isDefault`, `productId`, `ratio` sub-keys +- `testList()` — asserts array result + `getTotal() >= 0` +- `testGet()` — since `catalog.ratio` has no `add` REST method (ratios are created implicitly + when a product's measure ratio is configured), follow the same "skip if portal has none" + pattern as `ExtraTest::testGet()` if `list()` is empty. Confirmed via a live + `catalog.ratio.list` call against the test webhook (`tests/.env.local`) that the current test + portal returns `{"ratios": [], "total": 0}` — the skip guard is required, not just a safe + default. + +`#[CoversMethod(Ratio::class, 'get')]`, `#[CoversMethod(Ratio::class, 'list')]`, +`#[CoversMethod(Ratio::class, 'fields')]`. + +### 7. `tests/Integration/Services/Catalog/Ratio/Result/RatioItemResultAnnotationsTest.php` + +Mirrors `tests/Integration/Services/Catalog/Extra/Result/ExtraItemResultAnnotationsTest.php`: +- `getFirstRatioRawItem()` helper reading `list()->getCoreResponse()...->getResult()['ratios'][0]` + (skip test if portal has no ratios — required, confirmed empty on the current test portal, see + item 6 above) +- `testAllSystemFieldsAnnotated` — via `assertBitrix24AllResultItemFieldsAnnotated` +- `testAllSystemFieldsHasValidTypeAnnotation` — via `assertBitrix24ResultItemFieldsTypeCastMatchAnnotations` + +`#[CoversClass(RatioItemResult::class)]`. + +--- + +## Files to Modify + +### 1. `src/Services/Catalog/CatalogServiceBuilder.php` + +Confirmed: `extra()` is registered at line 114-124. Insert `ratio()` directly after it +(before `productImage()` at line 126), copying the exact no-batch construction shape: + +```php + public function ratio(): Catalog\Ratio\Service\Ratio + { + if (!isset($this->serviceCache[__METHOD__])) { + $this->serviceCache[__METHOD__] = new Catalog\Ratio\Service\Ratio( + $this->core, + $this->log + ); + } + + return $this->serviceCache[__METHOD__]; + } +``` + +### 2. `phpunit.xml.dist` + +Add a new testsuite entry near `integration_tests_catalog_extra` (alphabetically after +`integration_tests_catalog_price*` group or near `extra`/`measure`, matching existing ordering +in the file): + +```xml + + ./tests/Integration/Services/Catalog/Ratio/ + +``` + +### 3. `Makefile` + +Add near `test-integration-catalog-measure` / `test-integration-catalog-extra`: + +```makefile +.PHONY: test-integration-catalog-ratio +test-integration-catalog-ratio: + docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_ratio +``` + +Also add a row to the `docs/testing.md` Catalog integration test table (`make test-integration-catalog-ratio` | `Measurement unit ratio`). + +### 4. `CHANGELOG.md` + +Add under `## Unreleased` → `### Added`, at the top of the list: + +```markdown +- Added service `Services\Catalog\Ratio` with support methods, + see [catalog.ratio.* methods](https://apidocs.bitrix24.com/api-reference/catalog/ratio/index.html) ([#570](https://github.com/bitrix24/b24phpsdk/issues/570)): + - `get` gets the values of a measurement unit ratio by identifier + - `list` gets the list of measurement unit ratios matching a filter + - `getFields` returns the description of measurement unit ratio fields +``` + +### 5. `docs/testing.md` + +No linter-config changes needed (`.php-cs-fixer.php`, `phpstan.neon.dist`, `rector.php` already +glob the whole `src/Services/Catalog/` / `tests/Integration/Services/Catalog` tree). Only the +Catalog integration test table needs the new row (see item 3 above). + +--- + +## Verification + +```bash +make lint-cs-fixer +make lint-rector +make lint-phpstan +make lint-deptrac +make test-unit +make test-integration-catalog-ratio +``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 4196370d..30699e80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ ### Added +- Added service `Services\Catalog\Ratio` with support methods, + see [catalog.ratio.* methods](https://apidocs.bitrix24.com/api-reference/catalog/ratio/index.html) ([#570](https://github.com/bitrix24/b24phpsdk/issues/570)): + - `get` gets the values of a measurement unit ratio by identifier + - `list` gets the list of measurement unit ratios matching a filter + - `getFields` returns the description of measurement unit ratio fields - Added service `Services\Catalog\Document` with support methods, see [catalog.document.* methods](https://apidocs.bitrix24.com/api-reference/catalog/document/index.html) ([#559](https://github.com/bitrix24/b24phpsdk/issues/559)): - `add` creates a new warehouse accounting document, with batch calls support diff --git a/Makefile b/Makefile index 3488eaf6..55a639f6 100644 --- a/Makefile +++ b/Makefile @@ -885,6 +885,7 @@ test-integration-catalog-extra: .PHONY: test-integration-catalog-measure test-integration-catalog-measure: docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_measure + .PHONY: test-integration-catalog-price test-integration-catalog-price: docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_price @@ -943,6 +944,10 @@ test-integration-catalog-document-element: test-integration-catalog-document-element-annotations: docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_document_element_annotations +.PHONY: test-integration-catalog-ratio +test-integration-catalog-ratio: + docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_ratio + # work dev environment .PHONY: php-dev-server-up php-dev-server-up: diff --git a/docs/open-api/openapi.json b/docs/open-api/openapi.json index 7bd96ea4..ac2c8dab 100644 --- a/docs/open-api/openapi.json +++ b/docs/open-api/openapi.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Bitrix24 REST V3 API","version":"1.0.0"},"servers":[],"tags":[{"name":"call","description":"call module methods"},{"name":"humanresources","description":"humanresources module methods"},{"name":"mail","description":"mail module methods"},{"name":"main","description":"main module methods"},{"name":"note","description":"note module methods"},{"name":"rest","description":"rest module methods"},{"name":"tasks","description":"tasks module methods"},{"name":"timeman","description":"timeman module methods"},{"name":"vibecodeconnector","description":"vibecodeconnector module methods"}],"paths":{"\/call.followup.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"callId":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"mentionFormat":{"type":"string","example":"string"}},"required":["callId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"mentionFormat":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.employeedto"}}}}}}}}}},"\/humanresources.employee.subordinates":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.multidepartment":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}},"\/humanresources.node.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.children":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.remove":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.set":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.mailbox.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}},"\/mail.mailbox.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.mailbox.senders":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.message.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}}},"\/mail.message.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}},"\/mail.message.send":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.reply":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.forward":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.removecrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.thread":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.movetofolder":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createtask":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcalendarevent":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createchat":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createfeedpost":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.recipient.listcontacts":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/mail.recipient.listemployees":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/main.eventlog.list":{"post":{"summary":"Get record list","description":"Retrieves a list of specified records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"timestampX":{"type":"string","example":"ASC"},"auditTypeId":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"guestId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/main.eventlog.get":{"post":{"summary":"Get record","description":"Retrieves a record by the specified ID.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}},"\/main.eventlog.tail":{"post":{"summary":"Get recent records","description":"Retrieves the most recent records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array"},"cursor":{"type":"object","example":{"field":"id","value":0,"order":"ASC"}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/note.collection.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"afterCursor":{"type":"object","properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}},"nextCursor":{"type":"object","nullable":true,"properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}}}}},"\/note.collection.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","position","policyLevel","createdBy","createdAt","updatedBy","updatedAt"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"name":{"type":"string"},"position":{"type":"integer","format":"int64"}},"required":["name"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.collection.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","collectionId","parentId","title","markdown","position","createdBy","updatedBy","createdAt","updatedAt"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"collectionId":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"title":{"type":"string"},"markdown":{"type":"string"}},"required":["collectionId","title"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"overwrite":{"type":"boolean","example":true},"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"markdown":{"type":"string"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.tree.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["collectionId"],"properties":{"collectionId":{"type":"integer"}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}},"truncated":{"type":"boolean"}}}}},"example":{"result":{"items":[{"id":10,"collectionId":123,"parentId":null,"title":"Введение","position":1,"children":[{"id":11,"collectionId":123,"parentId":10,"title":"Глава 1","position":1,"children":[]}]}],"truncated":false}}}}}}}},"\/note.document.search.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.searchresultitemdto"}},"hasMore":{"type":"boolean"}}}}}}}}}}},"\/note.file.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"integer","example":1},"fileName":{"type":"string","example":"string"},"fileContent":{"type":"string","example":"string"}},"required":["documentId","fileName","fileContent"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/note.file.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"documentId":{"type":"integer","example":1}},"required":["id","documentId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/rest.scope.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.documentation.openapi":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.field.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/call.followup.field.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.employee.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.employee.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.member.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.member.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.mailbox.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.mailbox.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.message.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.message.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.recipient.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.recipient.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.eventlog.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/main.eventlog.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.collection.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.collection.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.tree.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.tree.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.search.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.search.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.file.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.file.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.app.scoperequest.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.incomingwebhook.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.incomingwebhook.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.access.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.access.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.embedding.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.embedding.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.local.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.local.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.personal.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.personal.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.placement.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.placement.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.chat.message.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.chat.message.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.result.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.result.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/timeman.record.field.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/timeman.record.field.get":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"scopes":{"type":"array"},"comment":{"type":"string"}},"required":["scopes","comment"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}},"\/rest.application.getbyclientid":{"post":{"summary":"Returns the application by OAuth client ID","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}}},"\/rest.application.list":{"post":{"summary":"Returns a list of installed applications","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"clientId":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"version":{"type":"string","example":"ASC"},"dateCreate":{"type":"string","example":"ASC"},"dateInstall":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}},"\/rest.incomingwebhook.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"scopes":{"type":"array"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]}},"required":["title","scopes","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}}},"\/rest.incomingwebhook.update":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"scopes":{"type":"array"},"title":{"type":"string"}}}},"required":["id","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"dateCreate":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}},"\/rest.application.access.set":{"post":{"summary":"Sets the application access codes","description":"Replaces all existing access codes for the application with the provided ones.\n\t\tFor personal applications, the owner user access code is always added to the saved access codes.\n\t\tAccess codes define which users or groups can use the application.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022UA\u0022, \u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.delete":{"post":{"summary":"Deletes the application access codes","description":"Removes specified access codes from the application.\n\t\tOnly the provided codes are removed; other existing codes remain unchanged.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.reset":{"post":{"summary":"Resets the application access to default values","description":"Removes all custom access codes and restores the default access settings for the application.\n\t\tFor personal applications, the default is the owner and administrators only.\n\t\tFor shared applications, the default is no restrictions (available to everyone).\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.get":{"post":{"summary":"Returns the application access codes","description":"Returns the current access codes assigned to the application,\n\t\tincluding detailed information about each code (provider and display name).\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["clientId","codes","codesDetails"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.accessdto"}}}}}}}}}}},"\/rest.application.embedding.list":{"post":{"summary":"Returns a list of application embedding areas","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","placement","handler","title","description","groupName","additional","options","languages"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.embeddingdto"}}}}}}}}}},"\/rest.application.embedding.add":{"post":{"summary":"Adds a new application embedding area","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022: \u0022IM_CONTEXT_MENU\u0022,\n\t\t\t\u0022handler\u0022: \u0022https:\/\/example.com\/embed\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1},"title":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"groupName":{"type":"string","example":"string"},"settings":{"type":"array"},"languages":{"type":"array"}},"required":["clientId","placement","handler","userId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.embedding.delete":{"post":{"summary":"Deletes an existing embedding area","description":"If `handler` is provided, only the embedding with that handler will be deleted.\n\t\tIf `userId` is provided, only the embedding for that user will be deleted.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022:\u0022IM_CONTEXT_MENU\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1}},"required":["clientId","placement"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.application.local.install":{"post":{"summary":"Installs a local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.local.uninstall":{"post":{"summary":"Uninstalls an existing local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.personal.install":{"post":{"summary":"Installs a local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.personal.uninstall":{"post":{"summary":"Uninstalls an existing local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.placement.list":{"post":{"summary":"Returns a list of available embedding areas","description":"If `scope` is provided, only placements for that scope are returned, and other parameters are ignored.\n\t\tIf `showAll` is `true`, all available placements are returned.\n\t\tIf `clientId` is provided, only placements available to that application are returned.\n\t\tIf no parameters are provided, all available placements are returned.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"scope":{"type":"string","example":"string"},"showAll":{"type":"boolean","example":true}},"required":["showAll"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.portal.license.get":{"post":{"summary":"Gets portal license information","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Gets portal license information","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"creatorId":{"type":"integer","format":"int64"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}},"required":["title","creatorId","responsibleId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"creatorId":{"type":"string","example":"ASC"},"created":{"type":"string","example":"ASC"},"responsibleId":{"type":"string","example":"ASC"},"deadline":{"type":"string","example":"ASC"},"startPlan":{"type":"string","example":"ASC"},"endPlan":{"type":"string","example":"ASC"},"groupId":{"type":"string","example":"ASC"},"priority":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"started":{"type":"string","example":"ASC"},"estimatedTime":{"type":"string","example":"ASC"},"changed":{"type":"string","example":"ASC"},"closed":{"type":"string","example":"ASC"},"activity":{"type":"string","example":"ASC"},"mark":{"type":"string","example":"ASC"},"allowsChangeDeadline":{"type":"string","example":"ASC"},"allowsTimeTracking":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}},"\/tasks.task.access.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.file.attach":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"taskId":{"type":"integer","example":1},"fileIds":{"type":"array"}},"required":["taskId","fileIds"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.chat.message.send":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.addfromchatmessage":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"text":{"type":"string"},"messageId":{"type":"integer","format":"int64"}},"required":["messageId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","taskId","text","authorId","createdAt","updatedAt","status","fileIds","rights","messageId"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"authorId":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"messageId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}},"\/timeman.record.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","startTime","endTime","duration","breakLength","state","isApproved"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"startTime":{"type":"string","example":"ASC"},"endTime":{"type":"string","example":"ASC"},"duration":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.timeman.recorddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.add":{"post":{"description":"Creates a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"type":{"type":"string","example":"string"},"accessType":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"editUrl":{"type":"string","example":"string"},"viewUrl":{"type":"string","example":"string"},"iconUrl":{"type":"string","example":"string"},"chatId":{"type":"integer","example":1},"externalId":{"type":"string","example":"string"},"iss":{"type":"string","example":"string"}},"required":["title","type","accessType"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.update":{"post":{"description":"Updates editable fields of a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"accessType":{"type":"string"},"description":{"type":"string"},"editUrl":{"type":"string"},"viewUrl":{"type":"string"},"iconUrl":{"type":"string"},"chatId":{"type":"integer","format":"int64"},"externalId":{"type":"string"}}}},"required":["catalogItemId","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.delete":{"post":{"description":"Deletes a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.set":{"post":{"description":"Replaces all ACL access codes for a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"accessCodes":{"type":"array"}},"required":["catalogItemId","accessCodes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.set":{"post":{"description":"Pins a catalog item for the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.delete":{"post":{"description":"Removes the current REST user pin from a catalog item","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/batch":{"post":{"tags":[],"requestBody":{"content":{"application\/json":{"schema":{"type":"object"}}}},"responses":[],"summary":"Batch call","description":"Executes a batch call of multiple methods inside a single request."}},"\/documentation":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/scopes":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}}},"components":{"schemas":{"bitrix.call.followupdto":{"type":"object","properties":{"callId":{"type":"integer","format":"int64","title":"callId","description":"Bitrix24 call identifier (b_call.ID). Always present."},"callType":{"type":"integer","format":"int64","title":"callType","description":"Call type: 1 = instant ad-hoc, 2 = permanent conference room, 3 = large room."},"initiatorId":{"type":"integer","format":"int64","title":"initiatorId","description":"User id of who initiated the call."},"startDate":{"type":"string","title":"startDate","description":"ISO 8601 UTC timestamp when the call started."},"endDate":{"type":"string","title":"endDate","description":"ISO 8601 UTC timestamp when the call ended. Null while the call is still in progress."},"durationSeconds":{"type":"integer","format":"int64","title":"durationSeconds","description":"Total call duration in seconds (endDate − startDate)."},"uuid":{"type":"string","title":"uuid","description":"Opaque UUID of the call session. Opt-in: list this in `select` to receive it."},"language":{"type":"string","title":"language","description":"Detected transcription language (BCP-47 \/ ISO 639-1, e.g. \u0022ru\u0022, \u0022en\u0022). Null when there is no transcription."},"version":{"type":"integer","format":"int64","title":"version","description":"Maximum schema version across all stored outcome blocks (transcription, overview, summary, insights, evaluation)."},"participants":{"type":"array","title":"participants","description":"Call participants, enriched with display data from Util::getUsers (name, avatar, work position). Opt-in via `select`."},"outcomes":{"type":"array","title":"outcomes","description":"Names of outcome blocks present for this call: any subset of [transcription, overview, summary, insights, evaluation]."},"createdAt":{"type":"string","title":"createdAt","description":"ISO 8601 UTC timestamp of the most recently stored outcome record for this call."},"tracks":{"type":"array","title":"tracks","description":"Call recordings \/ tracks with download URLs. Opt-in via `select`."},"transcription":{"$ref":"#\/components\/schemas\/bitrix.call.transcriptiondto","title":"transcription","description":"Time-ordered transcription of the call with per-segment speaker attribution."},"overview":{"$ref":"#\/components\/schemas\/bitrix.call.overviewdto","title":"overview","description":"AI overview of the meeting: topic, agenda, agreements, action items, takeaways."},"summary":{"$ref":"#\/components\/schemas\/bitrix.call.summarydto","title":"summary","description":"Segmented summary of the call by topic chunks."},"insights":{"$ref":"#\/components\/schemas\/bitrix.call.insightsdto","title":"insights","description":"AI insights: per-speaker analysis (CIS only), meeting strengths\/weaknesses, recommendations."},"evaluation":{"$ref":"#\/components\/schemas\/bitrix.call.evaluationdto","title":"evaluation","description":"Meeting efficiency evaluation: overall score and individual evaluation criteria."}}},"bitrix.call.transcriptiondto":{"type":"object","properties":{"language":{"type":"string","title":"language","description":"Detected transcription language as BCP-47 \/ ISO 639-1 code (e.g. \u0022ru\u0022, \u0022en\u0022). Null when the language could not be determined."},"segments":{"type":"array","title":"segments","description":"Time-ordered transcription segments. Each segment is one continuous utterance by a single speaker."}}},"bitrix.call.overviewdto":{"type":"object","properties":{"topic":{"type":"string","title":"topic","description":"AI-detected meeting topic in one short phrase."},"detailedTakeaways":{"type":"string","title":"detailedTakeaways","description":"Long-form summary of meeting outcomes (multiple sentences). @-mentions are rendered in the selected mentionFormat."},"meetingType":{"type":"array","title":"meetingType","description":"Meeting type. Shape: { explanation: string, typeTag: string (raw AI tag, e.g. \u0022planning\u0022), title: string (localized) }."},"agenda":{"type":"array","title":"agenda","description":"Agenda detection. Shape: { explanation: string (was an agenda announced and how it was set), quote: string (verbatim agenda quote from transcription) }."},"agreements":{"type":"array","title":"agreements","description":"List of explicit agreements. Each item: { agreement: string (AI-rephrased agreement, may contain @-mentions in selected mentionFormat), quote?: string (supporting transcription excerpt) }."},"actionItems":{"type":"array","title":"actionItems","description":"Action items. Each item: { actionItem: string (with @-mentions), actionItemMentionLess?: string (same text without markup), quote?: string }."},"meetings":{"type":"array","title":"meetings","description":"Planned follow-up meetings. Each item: { meeting: string (with @-mentions), meetingMentionLess?: string, quote?: string }."}}},"bitrix.call.summarydto":{"type":"object","properties":{"segments":{"type":"array","title":"segments","description":"Time-ordered segments of the meeting summary. Each segment covers a continuous topical chunk of the call."}}},"bitrix.call.insightsdto":{"type":"object","properties":{"speakerEvaluationAvailable":{"type":"boolean","title":"speakerEvaluationAvailable","description":"Whether per-speaker evaluation is available on this portal. False for non-CIS regions; speakerAnalysis is empty in that case."},"speakerAnalysis":{"type":"array","title":"speakerAnalysis","description":"Per-speaker analysis, sorted by talkPercentage DESC, efficiencyValue DESC. Each item: { userId, detailedInsight, efficiencyValue (0..100), evaluationCriteria (map of criterion-\u003E{value,criteria,title}), talkPercentage, duration (seconds), durationFormat (localized human label) }."},"meetingStrengths":{"type":"array","title":"meetingStrengths","description":"Meeting strengths. Each item: { strengthTitle: string (short label), strengthExplanation: string (detailed reasoning) }."},"meetingWeaknesses":{"type":"array","title":"meetingWeaknesses","description":"Meeting weaknesses. Each item: { weaknessTitle: string, weaknessExplanation: string }."},"speechStyleInfluence":{"type":"string","title":"speechStyleInfluence","description":"AI commentary on how speakers\u0027 communication style affected the meeting outcome."},"engagementLevel":{"type":"string","title":"engagementLevel","description":"Free-form AI assessment of overall meeting engagement."},"areasOfResponsibility":{"type":"string","title":"areasOfResponsibility","description":"AI-detected delegated areas of responsibility and ownership coming out of the meeting."},"finalRecommendations":{"type":"string","title":"finalRecommendations","description":"Final AI recommendations for future meetings of this team or topic."}}},"bitrix.call.evaluationdto":{"type":"object","properties":{"efficiencyValue":{"type":"integer","format":"int64","title":"efficiencyValue","description":"Overall meeting efficiency score in the range 0..100. Computed as the share of passed criteria, including the calendar overhead penalty."},"calendar":{"type":"array","title":"calendar","description":"Calendar booking quality. Shape: { overhead: bool } — whether the meeting ran past its scheduled end time."},"criteria":{"type":"array","title":"criteria","description":"Meeting evaluation criteria map. Keys are AI-driven criterion codes (e.g. agenda_clearly_stated). Each value has shape { value: bool (passed\/failed), criteria: string (raw code, mirrors the key), thoughts: string (AI commentary in selected mentionFormat), title: string (localized) }."}}},"bitrix.humanresources.employeedto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"},"departments":{"type":"array","title":"departments"},"teams":{"type":"array","title":"teams"}}},"bitrix.humanresources.nodedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"structureId":{"type":"integer","format":"int64","title":"structureId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"description":{"type":"string","title":"description"},"accessCode":{"type":"string","title":"accessCode"},"userCount":{"type":"integer","format":"int64","title":"userCount"},"colorName":{"type":"string","title":"colorName"},"xmlId":{"type":"string","title":"xmlId"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"},"members":{"type":"array","title":"members"}}},"bitrix.humanresources.nodememberdto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"role":{"type":"string","title":"role"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"}}},"bitrix.mail.mailboxdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"email":{"type":"string","title":"email"},"senderName":{"type":"string","title":"senderName"}}},"bitrix.mail.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"mailboxEmail":{"type":"string","title":"mailboxEmail"},"subject":{"type":"string","title":"subject"},"from":{"type":"string","title":"from"},"to":{"type":"string","title":"to"},"cc":{"type":"string","title":"cc"},"date":{"type":"string","title":"date"},"isSeen":{"type":"boolean","title":"isSeen"},"hasAttachments":{"type":"boolean","title":"hasAttachments"},"url":{"type":"string","title":"url"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"}}},"bitrix.mail.recipientdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"email":{"type":"string","title":"email"},"name":{"type":"string","title":"name"}}},"bitrix.main.eventlogdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Record ID","description":"Unique event log entry ID."},"timestampX":{"type":"string","format":"date-time","title":"Event time","description":"Event date and time."},"severity":{"type":"string","title":"Severity","description":"Event severity level (INFO, WARNING, ERROR, etc.)"},"auditTypeId":{"type":"string","title":"Event type","description":"Audit event type ID."},"moduleId":{"type":"string","title":"Module","description":"The module that produced the event."},"itemId":{"type":"string","title":"Item ID","description":"The ID of an item associated with the event."},"remoteAddr":{"type":"string","title":"IP address","description":"The IP address of a user associated with the event."},"userAgent":{"type":"string","title":"User Agent","description":"The User Agent string: the user\u0027s browser and OS."},"requestUri":{"type":"string","title":"Request URL","description":"The URL that was used to initiate the request."},"siteId":{"type":"string","title":"Site ID","description":"The ID of a site associated with the event."},"userId":{"type":"integer","format":"int64","title":"User ID","description":"The ID of a user associated with the event."},"guestId":{"type":"integer","format":"int64","title":"Guest ID","description":"The ID of a guest (i.e. a user who didn\u0027t log in)."},"description":{"type":"string","title":"Event description","description":"Detailed event description."}}},"bitrix.note.collectionitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"position":{"type":"integer","format":"int64","title":"position"},"policyLevel":{"type":"string","title":"policyLevel"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documentitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"title":{"type":"string","title":"title"},"markdown":{"type":"string","title":"markdown"},"position":{"type":"integer","format":"int64","title":"position"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documenttreeitemdto":{"type":"object","properties":{"id":{"type":"integer"},"collectionId":{"type":"integer"},"parentId":{"type":"integer","nullable":true},"title":{"type":"string"},"position":{"type":"integer"},"children":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}}}},"bitrix.note.searchresultitemdto":{"type":"object","properties":{"documentId":{"type":"integer","format":"int64","title":"documentId"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"title":{"type":"string","title":"title"},"score":{"type":"float","title":"score"},"snippet":{"type":"string","title":"snippet"},"sharedAccess":{"type":"boolean","title":"sharedAccess"}}},"bitrix.note.fileitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"documentId":{"type":"integer","format":"int64","title":"documentId"},"name":{"type":"string","title":"name"},"size":{"type":"integer","format":"int64","title":"size"},"mimeType":{"type":"string","title":"mimeType"},"assetType":{"type":"string","title":"assetType"},"assetMarkdown":{"type":"string","title":"assetMarkdown"}}},"bitrix.rest.dtofielddto":{"type":"object","properties":{"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"validationRules":{"type":"array","title":"validationRules"},"requiredGroups":{"type":"array","title":"requiredGroups"},"filterable":{"type":"boolean","title":"filterable"},"sortable":{"type":"boolean","title":"sortable"},"editable":{"type":"boolean","title":"editable"},"multiple":{"type":"boolean","title":"multiple"},"elementType":{"type":"string","title":"elementType"}}},"bitrix.rest.customdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"name":{"type":"string","title":"name"},"userTypeId":{"type":"string","title":"userTypeId"},"xmlId":{"type":"string","title":"xmlId"},"sort":{"type":"integer","format":"int64","title":"sort"},"isMultiple":{"type":"boolean","title":"isMultiple"},"isMandatory":{"type":"boolean","title":"isMandatory"},"showFilter":{"type":"string","title":"showFilter"},"showInList":{"type":"boolean","title":"showInList"},"editInList":{"type":"boolean","title":"editInList"},"isSearchable":{"type":"boolean","title":"isSearchable"},"settings":{"type":"array","title":"settings"},"editFormLabel":{"title":"editFormLabel"},"listColumnLabel":{"title":"listColumnLabel"},"listFilterLabel":{"title":"listFilterLabel"},"errorMessage":{"title":"errorMessage"},"helpMessage":{"title":"helpMessage"}}},"bitrix.rest.enumdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"fieldId":{"type":"integer","format":"int64","title":"fieldId"},"value":{"type":"string","title":"value"},"isDefault":{"type":"boolean","title":"isDefault"},"sort":{"type":"integer","format":"int64","title":"sort"},"xmlId":{"type":"string","title":"xmlId"}}},"bitrix.rest.scoperequestdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"appId":{"type":"integer","format":"int64","title":"appId"},"scopes":{"type":"array","title":"scopes"},"status":{"type":"string","title":"status"},"currentState":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequeststatusdto","title":"currentState"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"history":{"title":"history"}}},"bitrix.rest.scoperequeststatusdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"requestId":{"type":"integer","format":"int64","title":"requestId"},"status":{"type":"string","title":"status"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"}}},"bitrix.rest.appdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Application inner identification"},"clientId":{"type":"string","title":"Application client ID"},"clientSecret":{"type":"string","title":"Application client secret"},"applicationToken":{"type":"string","title":"Application token (shared secret used to authenticate webhook callbacks from the portal)"},"scopes":{"type":"array","title":"Application scopes"},"title":{"type":"string","title":"Application title"},"url":{"type":"string","title":"Handler URL"},"urlInstall":{"type":"string","title":"Installation URL"},"urlSettings":{"type":"string","title":"Settings URL"},"mobile":{"type":"boolean","title":"Mobile application flag"},"version":{"type":"string","title":"Application version"},"active":{"type":"boolean","title":"Application active flag"},"installed":{"type":"boolean","title":"Application installed flag"},"dateCreate":{"type":"string","title":"Date of creation"},"dateInstall":{"type":"string","title":"Date of installation"},"attributes":{"type":"array","title":"Application external attributes"}}},"bitrix.rest.incomingwebhookdto":{"type":"object","properties":{"url":{"type":"string","title":"Webhook handler URL"},"scopes":{"type":"array","title":"Webhook scopes"},"title":{"type":"string","title":"Webhook title"},"active":{"type":"boolean","title":"Active flag"},"userId":{"type":"integer","format":"int64","title":"Owner user id"},"dateCreate":{"type":"string","title":"Date of creation"},"attributes":{"type":"array","title":"Incoming webhook external attributes"}}},"bitrix.rest.accessdto":{"type":"object","properties":{"clientId":{"type":"string","title":"Application client ID"},"codes":{"type":"array","title":"Application access codes"},"codesDetails":{"type":"array","title":"Access code details with provider and display name"}}},"bitrix.rest.embeddingdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"ID"},"userId":{"type":"integer","format":"int64","title":"User ID"},"placement":{"type":"string","title":"Placement name"},"handler":{"type":"string","title":"Placement Handler URI"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"groupName":{"type":"string","title":"groupName"},"additional":{"type":"string","title":"additional"},"options":{"type":"array","title":"options"},"languages":{"title":"languages"}}},"bitrix.rest.oauthtokendto":{"type":"object","properties":{"accessToken":{"type":"string","title":"OAuth access token"},"refreshToken":{"type":"string","title":"OAuth refresh token"},"expiresIn":{"type":"integer","format":"int64","title":"Access token lifetime in seconds"},"serverEndpoint":{"type":"string","title":"REST server endpoint"}}},"bitrix.rest.placementdto":{"type":"object","properties":{"placement":{"type":"string","title":"placement"}}},"bitrix.tasks.taskdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creatorId":{"type":"integer","format":"int64","title":"creatorId"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"created":{"type":"string","format":"date-time","title":"created"},"responsibleId":{"type":"integer","format":"int64","title":"responsibleId"},"responsible":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"responsible"},"deadline":{"type":"string","format":"date-time","title":"deadline"},"needsControl":{"type":"boolean","title":"needsControl"},"startPlan":{"type":"string","format":"date-time","title":"startPlan"},"endPlan":{"type":"string","format":"date-time","title":"endPlan"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"stageId":{"type":"integer","format":"int64","title":"stageId"},"stage":{"$ref":"#\/components\/schemas\/bitrix.tasks.stagedto","title":"stage"},"epicId":{"type":"integer","format":"int64","title":"epicId"},"storyPoints":{"type":"integer","format":"int64","title":"storyPoints"},"flowId":{"type":"integer","format":"int64","title":"flowId"},"flow":{"$ref":"#\/components\/schemas\/bitrix.tasks.flowdto","title":"flow"},"priority":{"type":"string","title":"priority"},"status":{"type":"string","title":"status"},"statusChanged":{"type":"string","format":"date-time","title":"statusChanged"},"accomplices":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"accomplices"},"auditors":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"auditors"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"parent"},"containsChecklist":{"type":"boolean","title":"containsChecklist"},"containsSubTasks":{"type":"boolean","title":"containsSubTasks"},"containsRelatedTasks":{"type":"boolean","title":"containsRelatedTasks"},"containsGanttLinks":{"type":"boolean","title":"containsGanttLinks"},"containsPlacements":{"type":"boolean","title":"containsPlacements"},"containsResults":{"type":"boolean","title":"containsResults"},"numberOfReminders":{"type":"integer","format":"int64","title":"numberOfReminders"},"chatId":{"type":"integer","format":"int64","title":"chatId"},"chat":{"$ref":"#\/components\/schemas\/bitrix.tasks.chatdto","title":"chat"},"plannedDuration":{"type":"integer","format":"int64","title":"plannedDuration"},"actualDuration":{"type":"integer","format":"int64","title":"actualDuration"},"durationType":{"type":"string","title":"durationType"},"started":{"type":"string","format":"date-time","title":"started"},"estimatedTime":{"type":"integer","format":"int64","title":"estimatedTime"},"replicate":{"type":"boolean","title":"replicate"},"changed":{"type":"string","format":"date-time","title":"changed"},"changedById":{"type":"integer","format":"int64","title":"changedById"},"changedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"changedBy"},"statusChangedById":{"type":"integer","format":"int64","title":"statusChangedById"},"statusChangedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"statusChangedBy"},"closedById":{"type":"integer","format":"int64","title":"closedById"},"closedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"closedBy"},"closed":{"type":"string","format":"date-time","title":"closed"},"activity":{"type":"string","format":"date-time","title":"activity"},"guid":{"type":"string","title":"guid"},"xmlId":{"type":"string","title":"xmlId"},"exchangeId":{"type":"string","title":"exchangeId"},"exchangeModified":{"type":"string","title":"exchangeModified"},"outlookVersion":{"type":"integer","format":"int64","title":"outlookVersion"},"mark":{"type":"string","title":"mark"},"allowsChangeDeadline":{"type":"boolean","title":"allowsChangeDeadline"},"allowsTimeTracking":{"type":"boolean","title":"allowsTimeTracking"},"matchesWorkTime":{"type":"boolean","title":"matchesWorkTime"},"addInReport":{"type":"boolean","title":"addInReport"},"isMultitask":{"type":"boolean","title":"isMultitask"},"siteId":{"type":"string","title":"siteId"},"forkedByTemplateId":{"type":"integer","format":"int64","title":"forkedByTemplateId"},"forkedByTemplate":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"forkedByTemplate"},"deadlineCount":{"type":"integer","format":"int64","title":"deadlineCount"},"declineReason":{"type":"string","title":"declineReason"},"forumTopicId":{"type":"integer","format":"int64","title":"forumTopicId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.tagdto"},"title":"tags"},"link":{"type":"string","title":"link"},"userFields":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userfielddto"},"title":"userFields"},"rights":{"type":"array","title":"rights"},"archiveLink":{"type":"string","title":"archiveLink"},"crmItemIds":{"type":"array","title":"crmItemIds"},"crmItems":{"$ref":"#\/components\/schemas\/bitrix.tasks.crmitemdto","title":"crmItems"},"reminders":{"type":"array","title":"reminders"},"elapsedTime":{"$ref":"#\/components\/schemas\/bitrix.tasks.elapsedtimedto","title":"elapsedTime"},"requireResult":{"type":"boolean","title":"requireResult"},"matchesSubTasksTime":{"type":"boolean","title":"matchesSubTasksTime"},"autocompleteSubTasks":{"type":"boolean","title":"autocompleteSubTasks"},"allowsChangeDatePlan":{"type":"boolean","title":"allowsChangeDatePlan"},"emailId":{"type":"integer","format":"int64","title":"emailId"},"email":{"$ref":"#\/components\/schemas\/bitrix.tasks.emaildto","title":"email"},"maxDeadlineChangeDate":{"type":"string","format":"date-time","title":"maxDeadlineChangeDate"},"maxDeadlineChanges":{"type":"integer","format":"int64","title":"maxDeadlineChanges"},"requireDeadlineChangeReason":{"type":"boolean","title":"requireDeadlineChangeReason"},"inFavorite":{"type":"array","title":"inFavorite"},"inPin":{"type":"array","title":"inPin"},"inGroupPin":{"type":"array","title":"inGroupPin"},"inMute":{"type":"array","title":"inMute"},"source":{"$ref":"#\/components\/schemas\/bitrix.tasks.sourcedto","title":"source"},"dependsOn":{"type":"array","title":"dependsOn"},"scenarios":{"type":"array","title":"scenarios"}}},"bitrix.tasks.userdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"gender":{"type":"string","title":"gender"},"email":{"type":"string","title":"email"},"externalAuthId":{"type":"string","title":"externalAuthId"},"rights":{"type":"array","title":"rights"}}},"bitrix.tasks.filedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"src":{"type":"string","title":"src"},"name":{"type":"string","title":"name"},"width":{"type":"integer","format":"int64","title":"width"},"height":{"type":"integer","format":"int64","title":"height"},"size":{"type":"integer","format":"int64","title":"size"},"subDir":{"type":"string","title":"subDir"},"contentType":{"type":"string","title":"contentType"},"file":{"type":"array","title":"file"}}},"bitrix.tasks.groupdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"type":{"type":"string","title":"type"},"isVisible":{"type":"boolean","title":"isVisible"}}},"bitrix.tasks.stagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"color":{"type":"string","title":"color"}}},"bitrix.tasks.flowdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"}}},"bitrix.tasks.chatdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"entityType":{"type":"string","title":"entityType"}}},"bitrix.tasks.templatedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"responsibleCollection":{"type":"array","title":"responsibleCollection"},"deadlineAfterTs":{"type":"integer","format":"int64","title":"deadlineAfterTs"},"startDatePlanTs":{"type":"integer","format":"int64","title":"startDatePlanTs"},"endDatePlanTs":{"type":"integer","format":"int64","title":"endDatePlanTs"},"replicate":{"type":"boolean","title":"replicate"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"priority":{"type":"string","title":"priority"},"accomplices":{"type":"array","title":"accomplices"},"auditors":{"type":"array","title":"auditors"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"parent"},"replicateParams":{"$ref":"#\/components\/schemas\/bitrix.tasks.replicateparamsdto","title":"replicateParams"}}},"bitrix.tasks.replicateparamsdto":{"type":"object","properties":{"period":{"type":"string","title":"period"},"everyDay":{"type":"string","title":"everyDay"},"workdayOnly":{"type":"string","title":"workdayOnly"},"dailyMonthInterval":{"type":"string","title":"dailyMonthInterval"},"everyWeek":{"type":"string","title":"everyWeek"},"monthlyType":{"type":"string","title":"monthlyType"},"monthlyDayNum":{"type":"string","title":"monthlyDayNum"},"monthlyMonthNum1":{"type":"string","title":"monthlyMonthNum1"},"monthlyWeekDayNum":{"type":"string","title":"monthlyWeekDayNum"},"monthlyWeekDay":{"type":"string","title":"monthlyWeekDay"},"monthlyMonthNum2":{"type":"string","title":"monthlyMonthNum2"},"yearlyType":{"type":"string","title":"yearlyType"},"yearlyDayNum":{"type":"string","title":"yearlyDayNum"},"yearlyMonth1":{"type":"string","title":"yearlyMonth1"},"yearlyWeekDayNum":{"type":"string","title":"yearlyWeekDayNum"},"yearlyWeekDay":{"type":"string","title":"yearlyWeekDay"},"yearlyMonth2":{"type":"string","title":"yearlyMonth2"},"time":{"type":"string","title":"time"},"timezoneOffset":{"type":"string","title":"timezoneOffset"},"startDate":{"type":"string","title":"startDate"},"repeatTill":{"type":"string","title":"repeatTill"},"endDate":{"type":"string","title":"endDate"},"times":{"type":"string","title":"times"}}},"bitrix.tasks.tagdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"ownerId":{"type":"integer","format":"int64","title":"ownerId"},"owner":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"owner"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"}}},"bitrix.tasks.userfielddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"key":{"type":"string","title":"key"},"value":{"title":"value"}}},"bitrix.tasks.crmitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"}}},"bitrix.tasks.elapsedtimedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"minutes":{"type":"integer","format":"int64","title":"minutes"},"seconds":{"type":"integer","format":"int64","title":"seconds"},"source":{"type":"string","title":"source"},"text":{"type":"string","title":"text"},"createdAtTs":{"type":"integer","format":"int64","title":"createdAtTs"},"startTs":{"type":"integer","format":"int64","title":"startTs"},"stopTs":{"type":"integer","format":"int64","title":"stopTs"}}},"bitrix.tasks.emaildto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"title":{"type":"string","title":"title"},"body":{"type":"string","title":"body"},"from":{"type":"string","title":"from"},"dateTs":{"type":"integer","format":"int64","title":"dateTs"},"link":{"type":"string","title":"link"}}},"bitrix.tasks.sourcedto":{"type":"object","properties":{"type":{"type":"string","title":"type"},"data":{"type":"array","title":"data"}}},"bitrix.tasks.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"}}},"bitrix.tasks.resultdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"},"authorId":{"type":"integer","format":"int64","title":"authorId"},"author":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"author"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"status":{"type":"string","title":"status"},"fileIds":{"type":"array","title":"fileIds"},"rights":{"type":"array","title":"rights"},"messageId":{"type":"integer","format":"int64","title":"messageId"}}},"bitrix.timeman.recorddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"startTime":{"type":"string","format":"date-time","title":"startTime"},"endTime":{"type":"string","format":"date-time","title":"endTime"},"duration":{"type":"integer","format":"int64","title":"duration"},"breakLength":{"type":"integer","format":"int64","title":"breakLength"},"state":{"$ref":"#\/components\/schemas\/bitrix.timeman.recordstatedto","title":"state"},"isApproved":{"type":"boolean","title":"isApproved"}}},"bitrix.timeman.recordstatedto":{"type":"object","properties":{"status":{"type":"string","title":"status"},"recommendedCloseTime":{"type":"integer","format":"int64","title":"recommendedCloseTime"}}},"bitrix.vibecodeconnector.catalogitemdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Item type"},"accessType":{"type":"string","title":"Access type"},"description":{"type":"string","title":"Description"},"editUrl":{"type":"string","title":"Edit URL"},"viewUrl":{"type":"string","title":"View URL"},"iconUrl":{"type":"string","title":"Icon URL"},"chatId":{"type":"integer","format":"int64","title":"Chat identifier"},"externalId":{"type":"string","title":"External identifier"},"ownerId":{"type":"integer","format":"int64","title":"Owner user identifier"},"color":{"type":"string","title":"Color"},"createdAt":{"type":"string","title":"Date of creation (ISO-8601)"},"updatedAt":{"type":"string","title":"Date of last update (ISO-8601)"}}},"bitrix.vibecodeconnector.accessdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"accessCodes":{"type":"array","title":"Catalog item access codes"}}}}}} \ No newline at end of file +{"openapi":"3.0.0","info":{"title":"Bitrix24 REST V3 API","version":"1.0.0"},"servers":[],"tags":[{"name":"call","description":"call module methods"},{"name":"crm","description":"crm module methods"},{"name":"humanresources","description":"humanresources module methods"},{"name":"mail","description":"mail module methods"},{"name":"main","description":"main module methods"},{"name":"note","description":"note module methods"},{"name":"rest","description":"rest module methods"},{"name":"tasks","description":"tasks module methods"},{"name":"timeman","description":"timeman module methods"},{"name":"vibecodeconnector","description":"vibecodeconnector module methods"}],"paths":{"\/call.followup.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"callId":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"mentionFormat":{"type":"string","example":"string"}},"required":["callId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"mentionFormat":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.getContent":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.getThread":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.reply":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1},"body":{"type":"string","example":"string"},"cc":{"type":"array"},"bcc":{"type":"array"},"from":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.deal.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.deal.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.lead.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.lead.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.contact.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.contact.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.company.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.company.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.employeedto"}}}}}}}}}},"\/humanresources.employee.subordinates":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.multidepartment":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}},"\/humanresources.node.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.children":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.remove":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.set":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.mailbox.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}},"\/mail.mailbox.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.mailbox.senders":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.message.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}}},"\/mail.message.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}},"\/mail.message.send":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.reply":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.forward":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.removecrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.thread":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.movetofolder":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createtask":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcalendarevent":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createchat":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createfeedpost":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.recipient.listcontacts":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/mail.recipient.listemployees":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/main.eventlog.list":{"post":{"summary":"Get record list","description":"Retrieves a list of specified records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"timestampX":{"type":"string","example":"ASC"},"auditTypeId":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"guestId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/main.eventlog.get":{"post":{"summary":"Get record","description":"Retrieves a record by the specified ID.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}},"\/main.eventlog.tail":{"post":{"summary":"Get recent records","description":"Retrieves the most recent records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array"},"cursor":{"type":"object","example":{"field":"id","value":0,"order":"ASC"}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/note.collection.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"afterCursor":{"type":"object","properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}},"nextCursor":{"type":"object","nullable":true,"properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}}}}},"\/note.collection.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","position","policyLevel","createdBy","createdAt","updatedBy","updatedAt"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"name":{"type":"string"},"position":{"type":"integer","format":"int64"}},"required":["name"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.collection.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","collectionId","parentId","title","markdown","position","createdBy","updatedBy","createdAt","updatedAt"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"collectionId":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"title":{"type":"string"},"markdown":{"type":"string"}},"required":["collectionId","title"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"overwrite":{"type":"boolean","example":true},"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"markdown":{"type":"string"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.tree.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["collectionId"],"properties":{"collectionId":{"type":"integer"}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}},"truncated":{"type":"boolean"}}}}},"example":{"result":{"items":[{"id":10,"collectionId":123,"parentId":null,"title":"Введение","position":1,"children":[{"id":11,"collectionId":123,"parentId":10,"title":"Глава 1","position":1,"children":[]}]}],"truncated":false}}}}}}}},"\/note.document.search.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.searchresultitemdto"}},"hasMore":{"type":"boolean"}}}}}}}}}}},"\/note.file.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"integer","example":1},"fileName":{"type":"string","example":"string"},"fileContent":{"type":"string","example":"string"}},"required":["documentId","fileName","fileContent"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/note.file.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"documentId":{"type":"integer","example":1}},"required":["id","documentId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/rest.scope.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.documentation.openapi":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.field.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/call.followup.field.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.employee.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.employee.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.member.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.member.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.mailbox.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.mailbox.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.message.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.message.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.recipient.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.recipient.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.eventlog.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/main.eventlog.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.collection.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.collection.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.tree.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.tree.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.search.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.search.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.file.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.file.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.app.scoperequest.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.deferredbatch.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.deferredbatch.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.incomingwebhook.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.incomingwebhook.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.access.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.access.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.embedding.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.embedding.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.local.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.local.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.personal.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.personal.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.placement.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.placement.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.chat.message.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.chat.message.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.result.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.result.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/timeman.record.field.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/timeman.record.field.get":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"scopes":{"type":"array"},"comment":{"type":"string"}},"required":["scopes","comment"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}},"\/rest.deferredbatch.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"commands":{"type":"array"}},"required":["commands"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}}},"\/rest.deferredbatch.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","status","commands","createdAt","updatedAt","resultFileId","errorMessage"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}},"\/rest.deferredbatch.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","status","commands","createdAt","updatedAt","resultFileId","errorMessage"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}}},"\/rest.deferredbatch.downloadresult":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"downloadUrl":{"type":"string"}}}}}}}}}}},"\/rest.deferredbatch.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.getbyclientid":{"post":{"summary":"Returns the application by OAuth client ID","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}}},"\/rest.application.list":{"post":{"summary":"Returns a list of installed applications","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"clientId":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"version":{"type":"string","example":"ASC"},"dateCreate":{"type":"string","example":"ASC"},"dateInstall":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}},"\/rest.incomingwebhook.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"scopes":{"type":"array"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]}},"required":["title","scopes","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}}},"\/rest.incomingwebhook.update":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"scopes":{"type":"array"},"title":{"type":"string"}}}},"required":["id","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"dateCreate":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}},"\/rest.application.access.set":{"post":{"summary":"Sets the application access codes","description":"Replaces all existing access codes for the application with the provided ones.\n\t\tFor personal applications, the owner user access code is always added to the saved access codes.\n\t\tAccess codes define which users or groups can use the application.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022UA\u0022, \u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.delete":{"post":{"summary":"Deletes the application access codes","description":"Removes specified access codes from the application.\n\t\tOnly the provided codes are removed; other existing codes remain unchanged.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.reset":{"post":{"summary":"Resets the application access to default values","description":"Removes all custom access codes and restores the default access settings for the application.\n\t\tFor personal applications, the default is the owner and administrators only.\n\t\tFor shared applications, the default is no restrictions (available to everyone).\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.get":{"post":{"summary":"Returns the application access codes","description":"Returns the current access codes assigned to the application,\n\t\tincluding detailed information about each code (provider and display name).\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["clientId","codes","codesDetails"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.accessdto"}}}}}}}}}}},"\/rest.application.embedding.list":{"post":{"summary":"Returns a list of application embedding areas","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","placement","handler","title","description","groupName","additional","options","languages"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.embeddingdto"}}}}}}}}}},"\/rest.application.embedding.add":{"post":{"summary":"Adds a new application embedding area","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022: \u0022IM_CONTEXT_MENU\u0022,\n\t\t\t\u0022handler\u0022: \u0022https:\/\/example.com\/embed\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1},"title":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"groupName":{"type":"string","example":"string"},"settings":{"type":"array"},"languages":{"type":"array"}},"required":["clientId","placement","handler","userId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.embedding.delete":{"post":{"summary":"Deletes an existing embedding area","description":"If `handler` is provided, only the embedding with that handler will be deleted.\n\t\tIf `userId` is provided, only the embedding for that user will be deleted.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022:\u0022IM_CONTEXT_MENU\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1}},"required":["clientId","placement"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.application.local.install":{"post":{"summary":"Installs a local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.local.uninstall":{"post":{"summary":"Uninstalls an existing local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.personal.install":{"post":{"summary":"Installs a local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.personal.uninstall":{"post":{"summary":"Uninstalls an existing local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.placement.list":{"post":{"summary":"Returns a list of available embedding areas","description":"If `scope` is provided, only placements for that scope are returned, and other parameters are ignored.\n\t\tIf `showAll` is `true`, all available placements are returned.\n\t\tIf `clientId` is provided, only placements available to that application are returned.\n\t\tIf no parameters are provided, all available placements are returned.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"scope":{"type":"string","example":"string"},"showAll":{"type":"boolean","example":true}},"required":["showAll"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.portal.license.get":{"post":{"summary":"Gets portal license information","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Gets portal license information","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"creatorId":{"type":"integer","format":"int64"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}},"required":["title","creatorId","responsibleId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"creatorId":{"type":"string","example":"ASC"},"created":{"type":"string","example":"ASC"},"responsibleId":{"type":"string","example":"ASC"},"deadline":{"type":"string","example":"ASC"},"startPlan":{"type":"string","example":"ASC"},"endPlan":{"type":"string","example":"ASC"},"groupId":{"type":"string","example":"ASC"},"priority":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"started":{"type":"string","example":"ASC"},"estimatedTime":{"type":"string","example":"ASC"},"changed":{"type":"string","example":"ASC"},"closed":{"type":"string","example":"ASC"},"activity":{"type":"string","example":"ASC"},"mark":{"type":"string","example":"ASC"},"allowsChangeDeadline":{"type":"string","example":"ASC"},"allowsTimeTracking":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}},"\/tasks.task.access.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.file.attach":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"taskId":{"type":"integer","example":1},"fileIds":{"type":"array"}},"required":["taskId","fileIds"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.chat.message.send":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.addfromchatmessage":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"text":{"type":"string"},"messageId":{"type":"integer","format":"int64"}},"required":["messageId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","taskId","text","authorId","createdAt","updatedAt","status","fileIds","rights","messageId"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"authorId":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"messageId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}},"\/timeman.record.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","startTime","endTime","duration","breakLength","state","isApproved"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"startTime":{"type":"string","example":"ASC"},"endTime":{"type":"string","example":"ASC"},"duration":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.timeman.recorddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.add":{"post":{"description":"Creates a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"type":{"type":"string","example":"string"},"accessType":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"editUrl":{"type":"string","example":"string"},"viewUrl":{"type":"string","example":"string"},"iconUrl":{"type":"string","example":"string"},"chatId":{"type":"integer","example":1},"externalId":{"type":"string","example":"string"},"iss":{"type":"string","example":"string"}},"required":["title","type","accessType"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.update":{"post":{"description":"Updates editable fields of a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"accessType":{"type":"string"},"description":{"type":"string"},"editUrl":{"type":"string"},"viewUrl":{"type":"string"},"iconUrl":{"type":"string"},"chatId":{"type":"integer","format":"int64"},"externalId":{"type":"string"}}}},"required":["catalogItemId","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.delete":{"post":{"description":"Deletes a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.set":{"post":{"description":"Replaces all ACL access codes for a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"accessCodes":{"type":"array"}},"required":["catalogItemId","accessCodes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.set":{"post":{"description":"Pins a catalog item for the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.delete":{"post":{"description":"Removes the current REST user pin from a catalog item","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/batch":{"post":{"tags":[],"requestBody":{"content":{"application\/json":{"schema":{"type":"object"}}}},"responses":[],"summary":"Batch call","description":"Executes a batch call of multiple methods inside a single request."}},"\/documentation":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/scopes":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}}},"components":{"schemas":{"bitrix.call.followupdto":{"type":"object","properties":{"callId":{"type":"integer","format":"int64","title":"callId","description":"Bitrix24 call identifier (b_call.ID). Always present."},"callType":{"type":"integer","format":"int64","title":"callType","description":"Call type: 1 = instant ad-hoc, 2 = permanent conference room, 3 = large room."},"initiatorId":{"type":"integer","format":"int64","title":"initiatorId","description":"User id of who initiated the call."},"startDate":{"type":"string","title":"startDate","description":"ISO 8601 UTC timestamp when the call started."},"endDate":{"type":"string","title":"endDate","description":"ISO 8601 UTC timestamp when the call ended. Null while the call is still in progress."},"durationSeconds":{"type":"integer","format":"int64","title":"durationSeconds","description":"Total call duration in seconds (endDate − startDate)."},"uuid":{"type":"string","title":"uuid","description":"Opaque UUID of the call session. Opt-in: list this in `select` to receive it."},"language":{"type":"string","title":"language","description":"Detected transcription language (BCP-47 \/ ISO 639-1, e.g. \u0022ru\u0022, \u0022en\u0022). Null when there is no transcription."},"version":{"type":"integer","format":"int64","title":"version","description":"Maximum schema version across all stored outcome blocks (transcription, overview, summary, insights, evaluation)."},"participants":{"type":"array","title":"participants","description":"Call participants, enriched with display data from Util::getUsers (name, avatar, work position). Opt-in via `select`."},"outcomes":{"type":"array","title":"outcomes","description":"Names of outcome blocks present for this call: any subset of [transcription, overview, summary, insights, evaluation]."},"createdAt":{"type":"string","title":"createdAt","description":"ISO 8601 UTC timestamp of the most recently stored outcome record for this call."},"tracks":{"type":"array","title":"tracks","description":"Call recordings \/ tracks with download URLs. Opt-in via `select`."},"transcription":{"$ref":"#\/components\/schemas\/bitrix.call.transcriptiondto","title":"transcription","description":"Time-ordered transcription of the call with per-segment speaker attribution."},"overview":{"$ref":"#\/components\/schemas\/bitrix.call.overviewdto","title":"overview","description":"AI overview of the meeting: topic, agenda, agreements, action items, takeaways."},"summary":{"$ref":"#\/components\/schemas\/bitrix.call.summarydto","title":"summary","description":"Segmented summary of the call by topic chunks."},"insights":{"$ref":"#\/components\/schemas\/bitrix.call.insightsdto","title":"insights","description":"AI insights: per-speaker analysis (CIS only), meeting strengths\/weaknesses, recommendations."},"evaluation":{"$ref":"#\/components\/schemas\/bitrix.call.evaluationdto","title":"evaluation","description":"Meeting efficiency evaluation: overall score and individual evaluation criteria."}}},"bitrix.call.transcriptiondto":{"type":"object","properties":{"language":{"type":"string","title":"language","description":"Detected transcription language as BCP-47 \/ ISO 639-1 code (e.g. \u0022ru\u0022, \u0022en\u0022). Null when the language could not be determined."},"segments":{"type":"array","title":"segments","description":"Time-ordered transcription segments. Each segment is one continuous utterance by a single speaker."}}},"bitrix.call.overviewdto":{"type":"object","properties":{"topic":{"type":"string","title":"topic","description":"AI-detected meeting topic in one short phrase."},"detailedTakeaways":{"type":"string","title":"detailedTakeaways","description":"Long-form summary of meeting outcomes (multiple sentences). @-mentions are rendered in the selected mentionFormat."},"meetingType":{"type":"array","title":"meetingType","description":"Meeting type. Shape: { explanation: string, typeTag: string (raw AI tag, e.g. \u0022planning\u0022), title: string (localized) }."},"agenda":{"type":"array","title":"agenda","description":"Agenda detection. Shape: { explanation: string (was an agenda announced and how it was set), quote: string (verbatim agenda quote from transcription) }."},"agreements":{"type":"array","title":"agreements","description":"List of explicit agreements. Each item: { agreement: string (AI-rephrased agreement, may contain @-mentions in selected mentionFormat), quote?: string (supporting transcription excerpt) }."},"actionItems":{"type":"array","title":"actionItems","description":"Action items. Each item: { actionItem: string (with @-mentions), actionItemMentionLess?: string (same text without markup), quote?: string }."},"meetings":{"type":"array","title":"meetings","description":"Planned follow-up meetings. Each item: { meeting: string (with @-mentions), meetingMentionLess?: string, quote?: string }."}}},"bitrix.call.summarydto":{"type":"object","properties":{"segments":{"type":"array","title":"segments","description":"Time-ordered segments of the meeting summary. Each segment covers a continuous topical chunk of the call."}}},"bitrix.call.insightsdto":{"type":"object","properties":{"speakerEvaluationAvailable":{"type":"boolean","title":"speakerEvaluationAvailable","description":"Whether per-speaker evaluation is available on this portal. False for non-CIS regions; speakerAnalysis is empty in that case."},"speakerAnalysis":{"type":"array","title":"speakerAnalysis","description":"Per-speaker analysis, sorted by talkPercentage DESC, efficiencyValue DESC. Each item: { userId, detailedInsight, efficiencyValue (0..100), evaluationCriteria (map of criterion-\u003E{value,criteria,title}), talkPercentage, duration (seconds), durationFormat (localized human label) }."},"meetingStrengths":{"type":"array","title":"meetingStrengths","description":"Meeting strengths. Each item: { strengthTitle: string (short label), strengthExplanation: string (detailed reasoning) }."},"meetingWeaknesses":{"type":"array","title":"meetingWeaknesses","description":"Meeting weaknesses. Each item: { weaknessTitle: string, weaknessExplanation: string }."},"speechStyleInfluence":{"type":"string","title":"speechStyleInfluence","description":"AI commentary on how speakers\u0027 communication style affected the meeting outcome."},"engagementLevel":{"type":"string","title":"engagementLevel","description":"Free-form AI assessment of overall meeting engagement."},"areasOfResponsibility":{"type":"string","title":"areasOfResponsibility","description":"AI-detected delegated areas of responsibility and ownership coming out of the meeting."},"finalRecommendations":{"type":"string","title":"finalRecommendations","description":"Final AI recommendations for future meetings of this team or topic."}}},"bitrix.call.evaluationdto":{"type":"object","properties":{"efficiencyValue":{"type":"integer","format":"int64","title":"efficiencyValue","description":"Overall meeting efficiency score in the range 0..100. Computed as the share of passed criteria, including the calendar overhead penalty."},"calendar":{"type":"array","title":"calendar","description":"Calendar booking quality. Shape: { overhead: bool } — whether the meeting ran past its scheduled end time."},"criteria":{"type":"array","title":"criteria","description":"Meeting evaluation criteria map. Keys are AI-driven criterion codes (e.g. agenda_clearly_stated). Each value has shape { value: bool (passed\/failed), criteria: string (raw code, mirrors the key), thoughts: string (AI commentary in selected mentionFormat), title: string (localized) }."}}},"bitrix.crm.emailactivitydto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"subject":{"type":"string","title":"subject"},"dateTime":{"type":"string","title":"dateTime"},"isIncoming":{"type":"boolean","title":"isIncoming"},"from":{"type":"string","title":"from"},"to":{"type":"array","title":"to"},"cc":{"type":"array","title":"cc"},"bcc":{"type":"array","title":"bcc"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"},"isBodyTruncated":{"type":"boolean","title":"isBodyTruncated"},"isHidden":{"type":"boolean","title":"isHidden"},"activityId":{"type":"integer","format":"int64","title":"activityId"},"parentActivityId":{"type":"integer","format":"int64","title":"parentActivityId"},"isSyncedToImap":{"type":"boolean","title":"isSyncedToImap"},"warnings":{"type":"array","title":"warnings"}}},"bitrix.humanresources.employeedto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"},"departments":{"type":"array","title":"departments"},"teams":{"type":"array","title":"teams"}}},"bitrix.humanresources.nodedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"structureId":{"type":"integer","format":"int64","title":"structureId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"description":{"type":"string","title":"description"},"accessCode":{"type":"string","title":"accessCode"},"userCount":{"type":"integer","format":"int64","title":"userCount"},"colorName":{"type":"string","title":"colorName"},"xmlId":{"type":"string","title":"xmlId"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"},"members":{"type":"array","title":"members"}}},"bitrix.humanresources.nodememberdto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"role":{"type":"string","title":"role"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"}}},"bitrix.mail.mailboxdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"email":{"type":"string","title":"email"},"senderName":{"type":"string","title":"senderName"}}},"bitrix.mail.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"mailboxEmail":{"type":"string","title":"mailboxEmail"},"subject":{"type":"string","title":"subject"},"from":{"type":"string","title":"from"},"to":{"type":"string","title":"to"},"cc":{"type":"string","title":"cc"},"date":{"type":"string","title":"date"},"isSeen":{"type":"boolean","title":"isSeen"},"hasAttachments":{"type":"boolean","title":"hasAttachments"},"url":{"type":"string","title":"url"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"}}},"bitrix.mail.recipientdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"email":{"type":"string","title":"email"},"name":{"type":"string","title":"name"}}},"bitrix.main.eventlogdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Record ID","description":"Unique event log entry ID."},"timestampX":{"type":"string","format":"date-time","title":"Event time","description":"Event date and time."},"severity":{"type":"string","title":"Severity","description":"Event severity level (INFO, WARNING, ERROR, etc.)"},"auditTypeId":{"type":"string","title":"Event type","description":"Audit event type ID."},"moduleId":{"type":"string","title":"Module","description":"The module that produced the event."},"itemId":{"type":"string","title":"Item ID","description":"The ID of an item associated with the event."},"remoteAddr":{"type":"string","title":"IP address","description":"The IP address of a user associated with the event."},"userAgent":{"type":"string","title":"User Agent","description":"The User Agent string: the user\u0027s browser and OS."},"requestUri":{"type":"string","title":"Request URL","description":"The URL that was used to initiate the request."},"siteId":{"type":"string","title":"Site ID","description":"The ID of a site associated with the event."},"userId":{"type":"integer","format":"int64","title":"User ID","description":"The ID of a user associated with the event."},"guestId":{"type":"integer","format":"int64","title":"Guest ID","description":"The ID of a guest (i.e. a user who didn\u0027t log in)."},"description":{"type":"string","title":"Event description","description":"Detailed event description."}}},"bitrix.note.collectionitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"position":{"type":"integer","format":"int64","title":"position"},"policyLevel":{"type":"string","title":"policyLevel"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documentitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"title":{"type":"string","title":"title"},"markdown":{"type":"string","title":"markdown"},"position":{"type":"integer","format":"int64","title":"position"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documenttreeitemdto":{"type":"object","properties":{"id":{"type":"integer"},"collectionId":{"type":"integer"},"parentId":{"type":"integer","nullable":true},"title":{"type":"string"},"position":{"type":"integer"},"children":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}}}},"bitrix.note.searchresultitemdto":{"type":"object","properties":{"documentId":{"type":"integer","format":"int64","title":"documentId"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"title":{"type":"string","title":"title"},"score":{"type":"float","title":"score"},"snippet":{"type":"string","title":"snippet"},"sharedAccess":{"type":"boolean","title":"sharedAccess"}}},"bitrix.note.fileitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"documentId":{"type":"integer","format":"int64","title":"documentId"},"name":{"type":"string","title":"name"},"size":{"type":"integer","format":"int64","title":"size"},"mimeType":{"type":"string","title":"mimeType"},"assetType":{"type":"string","title":"assetType"},"assetMarkdown":{"type":"string","title":"assetMarkdown"}}},"bitrix.rest.dtofielddto":{"type":"object","properties":{"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"validationRules":{"type":"array","title":"validationRules"},"requiredGroups":{"type":"array","title":"requiredGroups"},"filterable":{"type":"boolean","title":"filterable"},"sortable":{"type":"boolean","title":"sortable"},"editable":{"type":"boolean","title":"editable"},"multiple":{"type":"boolean","title":"multiple"},"elementType":{"type":"string","title":"elementType"}}},"bitrix.rest.customdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"name":{"type":"string","title":"name"},"userTypeId":{"type":"string","title":"userTypeId"},"xmlId":{"type":"string","title":"xmlId"},"sort":{"type":"integer","format":"int64","title":"sort"},"isMultiple":{"type":"boolean","title":"isMultiple"},"isMandatory":{"type":"boolean","title":"isMandatory"},"showFilter":{"type":"string","title":"showFilter"},"showInList":{"type":"boolean","title":"showInList"},"editInList":{"type":"boolean","title":"editInList"},"isSearchable":{"type":"boolean","title":"isSearchable"},"settings":{"type":"array","title":"settings"},"editFormLabel":{"title":"editFormLabel"},"listColumnLabel":{"title":"listColumnLabel"},"listFilterLabel":{"title":"listFilterLabel"},"errorMessage":{"title":"errorMessage"},"helpMessage":{"title":"helpMessage"}}},"bitrix.rest.enumdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"fieldId":{"type":"integer","format":"int64","title":"fieldId"},"value":{"type":"string","title":"value"},"isDefault":{"type":"boolean","title":"isDefault"},"sort":{"type":"integer","format":"int64","title":"sort"},"xmlId":{"type":"string","title":"xmlId"}}},"bitrix.rest.scoperequestdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"appId":{"type":"integer","format":"int64","title":"appId"},"scopes":{"type":"array","title":"scopes"},"status":{"type":"string","title":"status"},"currentState":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequeststatusdto","title":"currentState"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"history":{"title":"history"}}},"bitrix.rest.scoperequeststatusdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"requestId":{"type":"integer","format":"int64","title":"requestId"},"status":{"type":"string","title":"status"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"}}},"bitrix.rest.deferredbatchdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"status":{"type":"string","title":"status"},"commands":{"type":"array","title":"commands"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"resultFileId":{"type":"integer","format":"int64","title":"resultFileId"},"errorMessage":{"type":"string","title":"errorMessage"}}},"bitrix.rest.appdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Application inner identification"},"clientId":{"type":"string","title":"Application client ID"},"clientSecret":{"type":"string","title":"Application client secret"},"applicationToken":{"type":"string","title":"Application token (shared secret used to authenticate webhook callbacks from the portal)"},"scopes":{"type":"array","title":"Application scopes"},"title":{"type":"string","title":"Application title"},"url":{"type":"string","title":"Handler URL"},"urlInstall":{"type":"string","title":"Installation URL"},"urlSettings":{"type":"string","title":"Settings URL"},"mobile":{"type":"boolean","title":"Mobile application flag"},"version":{"type":"string","title":"Application version"},"active":{"type":"boolean","title":"Application active flag"},"installed":{"type":"boolean","title":"Application installed flag"},"dateCreate":{"type":"string","title":"Date of creation"},"dateInstall":{"type":"string","title":"Date of installation"},"attributes":{"type":"array","title":"Application external attributes"}}},"bitrix.rest.incomingwebhookdto":{"type":"object","properties":{"url":{"type":"string","title":"Webhook handler URL"},"scopes":{"type":"array","title":"Webhook scopes"},"title":{"type":"string","title":"Webhook title"},"active":{"type":"boolean","title":"Active flag"},"userId":{"type":"integer","format":"int64","title":"Owner user id"},"dateCreate":{"type":"string","title":"Date of creation"},"attributes":{"type":"array","title":"Incoming webhook external attributes"}}},"bitrix.rest.accessdto":{"type":"object","properties":{"clientId":{"type":"string","title":"Application client ID"},"codes":{"type":"array","title":"Application access codes"},"codesDetails":{"type":"array","title":"Access code details with provider and display name"}}},"bitrix.rest.embeddingdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"ID"},"userId":{"type":"integer","format":"int64","title":"User ID"},"placement":{"type":"string","title":"Placement name"},"handler":{"type":"string","title":"Placement Handler URI"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"groupName":{"type":"string","title":"groupName"},"additional":{"type":"string","title":"additional"},"options":{"type":"array","title":"options"},"languages":{"title":"languages"}}},"bitrix.rest.oauthtokendto":{"type":"object","properties":{"accessToken":{"type":"string","title":"OAuth access token"},"refreshToken":{"type":"string","title":"OAuth refresh token"},"expiresIn":{"type":"integer","format":"int64","title":"Access token lifetime in seconds"},"serverEndpoint":{"type":"string","title":"REST server endpoint"}}},"bitrix.rest.placementdto":{"type":"object","properties":{"placement":{"type":"string","title":"placement"}}},"bitrix.tasks.taskdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creatorId":{"type":"integer","format":"int64","title":"creatorId"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"created":{"type":"string","format":"date-time","title":"created"},"responsibleId":{"type":"integer","format":"int64","title":"responsibleId"},"responsible":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"responsible"},"deadline":{"type":"string","format":"date-time","title":"deadline"},"needsControl":{"type":"boolean","title":"needsControl"},"startPlan":{"type":"string","format":"date-time","title":"startPlan"},"endPlan":{"type":"string","format":"date-time","title":"endPlan"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"stageId":{"type":"integer","format":"int64","title":"stageId"},"stage":{"$ref":"#\/components\/schemas\/bitrix.tasks.stagedto","title":"stage"},"epicId":{"type":"integer","format":"int64","title":"epicId"},"storyPoints":{"type":"integer","format":"int64","title":"storyPoints"},"flowId":{"type":"integer","format":"int64","title":"flowId"},"flow":{"$ref":"#\/components\/schemas\/bitrix.tasks.flowdto","title":"flow"},"priority":{"type":"string","title":"priority"},"status":{"type":"string","title":"status"},"statusChanged":{"type":"string","format":"date-time","title":"statusChanged"},"accomplices":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"accomplices"},"auditors":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"auditors"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"parent"},"containsChecklist":{"type":"boolean","title":"containsChecklist"},"containsSubTasks":{"type":"boolean","title":"containsSubTasks"},"containsRelatedTasks":{"type":"boolean","title":"containsRelatedTasks"},"containsGanttLinks":{"type":"boolean","title":"containsGanttLinks"},"containsPlacements":{"type":"boolean","title":"containsPlacements"},"containsResults":{"type":"boolean","title":"containsResults"},"numberOfReminders":{"type":"integer","format":"int64","title":"numberOfReminders"},"chatId":{"type":"integer","format":"int64","title":"chatId"},"chat":{"$ref":"#\/components\/schemas\/bitrix.tasks.chatdto","title":"chat"},"plannedDuration":{"type":"integer","format":"int64","title":"plannedDuration"},"actualDuration":{"type":"integer","format":"int64","title":"actualDuration"},"durationType":{"type":"string","title":"durationType"},"started":{"type":"string","format":"date-time","title":"started"},"estimatedTime":{"type":"integer","format":"int64","title":"estimatedTime"},"replicate":{"type":"boolean","title":"replicate"},"changed":{"type":"string","format":"date-time","title":"changed"},"changedById":{"type":"integer","format":"int64","title":"changedById"},"changedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"changedBy"},"statusChangedById":{"type":"integer","format":"int64","title":"statusChangedById"},"statusChangedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"statusChangedBy"},"closedById":{"type":"integer","format":"int64","title":"closedById"},"closedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"closedBy"},"closed":{"type":"string","format":"date-time","title":"closed"},"activity":{"type":"string","format":"date-time","title":"activity"},"guid":{"type":"string","title":"guid"},"xmlId":{"type":"string","title":"xmlId"},"exchangeId":{"type":"string","title":"exchangeId"},"exchangeModified":{"type":"string","title":"exchangeModified"},"outlookVersion":{"type":"integer","format":"int64","title":"outlookVersion"},"mark":{"type":"string","title":"mark"},"allowsChangeDeadline":{"type":"boolean","title":"allowsChangeDeadline"},"allowsTimeTracking":{"type":"boolean","title":"allowsTimeTracking"},"matchesWorkTime":{"type":"boolean","title":"matchesWorkTime"},"addInReport":{"type":"boolean","title":"addInReport"},"isMultitask":{"type":"boolean","title":"isMultitask"},"siteId":{"type":"string","title":"siteId"},"forkedByTemplateId":{"type":"integer","format":"int64","title":"forkedByTemplateId"},"forkedByTemplate":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"forkedByTemplate"},"deadlineCount":{"type":"integer","format":"int64","title":"deadlineCount"},"declineReason":{"type":"string","title":"declineReason"},"forumTopicId":{"type":"integer","format":"int64","title":"forumTopicId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.tagdto"},"title":"tags"},"link":{"type":"string","title":"link"},"userFields":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userfielddto"},"title":"userFields"},"rights":{"type":"array","title":"rights"},"archiveLink":{"type":"string","title":"archiveLink"},"crmItemIds":{"type":"array","title":"crmItemIds"},"crmItems":{"$ref":"#\/components\/schemas\/bitrix.tasks.crmitemdto","title":"crmItems"},"reminders":{"type":"array","title":"reminders"},"elapsedTime":{"$ref":"#\/components\/schemas\/bitrix.tasks.elapsedtimedto","title":"elapsedTime"},"requireResult":{"type":"boolean","title":"requireResult"},"matchesSubTasksTime":{"type":"boolean","title":"matchesSubTasksTime"},"autocompleteSubTasks":{"type":"boolean","title":"autocompleteSubTasks"},"allowsChangeDatePlan":{"type":"boolean","title":"allowsChangeDatePlan"},"emailId":{"type":"integer","format":"int64","title":"emailId"},"email":{"$ref":"#\/components\/schemas\/bitrix.tasks.emaildto","title":"email"},"maxDeadlineChangeDate":{"type":"string","format":"date-time","title":"maxDeadlineChangeDate"},"maxDeadlineChanges":{"type":"integer","format":"int64","title":"maxDeadlineChanges"},"requireDeadlineChangeReason":{"type":"boolean","title":"requireDeadlineChangeReason"},"inFavorite":{"type":"array","title":"inFavorite"},"inPin":{"type":"array","title":"inPin"},"inGroupPin":{"type":"array","title":"inGroupPin"},"inMute":{"type":"array","title":"inMute"},"source":{"$ref":"#\/components\/schemas\/bitrix.tasks.sourcedto","title":"source"},"dependsOn":{"type":"array","title":"dependsOn"},"scenarios":{"type":"array","title":"scenarios"}}},"bitrix.tasks.userdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"gender":{"type":"string","title":"gender"},"email":{"type":"string","title":"email"},"externalAuthId":{"type":"string","title":"externalAuthId"},"rights":{"type":"array","title":"rights"}}},"bitrix.tasks.filedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"src":{"type":"string","title":"src"},"name":{"type":"string","title":"name"},"width":{"type":"integer","format":"int64","title":"width"},"height":{"type":"integer","format":"int64","title":"height"},"size":{"type":"integer","format":"int64","title":"size"},"subDir":{"type":"string","title":"subDir"},"contentType":{"type":"string","title":"contentType"},"file":{"type":"array","title":"file"}}},"bitrix.tasks.groupdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"type":{"type":"string","title":"type"},"isVisible":{"type":"boolean","title":"isVisible"}}},"bitrix.tasks.stagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"color":{"type":"string","title":"color"}}},"bitrix.tasks.flowdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"}}},"bitrix.tasks.chatdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"entityType":{"type":"string","title":"entityType"}}},"bitrix.tasks.templatedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"responsibleCollection":{"type":"array","title":"responsibleCollection"},"deadlineAfterTs":{"type":"integer","format":"int64","title":"deadlineAfterTs"},"startDatePlanTs":{"type":"integer","format":"int64","title":"startDatePlanTs"},"endDatePlanTs":{"type":"integer","format":"int64","title":"endDatePlanTs"},"replicate":{"type":"boolean","title":"replicate"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"priority":{"type":"string","title":"priority"},"accomplices":{"type":"array","title":"accomplices"},"auditors":{"type":"array","title":"auditors"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"parent"},"replicateParams":{"$ref":"#\/components\/schemas\/bitrix.tasks.replicateparamsdto","title":"replicateParams"}}},"bitrix.tasks.replicateparamsdto":{"type":"object","properties":{"period":{"type":"string","title":"period"},"everyDay":{"type":"string","title":"everyDay"},"workdayOnly":{"type":"string","title":"workdayOnly"},"dailyMonthInterval":{"type":"string","title":"dailyMonthInterval"},"everyWeek":{"type":"string","title":"everyWeek"},"monthlyType":{"type":"string","title":"monthlyType"},"monthlyDayNum":{"type":"string","title":"monthlyDayNum"},"monthlyMonthNum1":{"type":"string","title":"monthlyMonthNum1"},"monthlyWeekDayNum":{"type":"string","title":"monthlyWeekDayNum"},"monthlyWeekDay":{"type":"string","title":"monthlyWeekDay"},"monthlyMonthNum2":{"type":"string","title":"monthlyMonthNum2"},"yearlyType":{"type":"string","title":"yearlyType"},"yearlyDayNum":{"type":"string","title":"yearlyDayNum"},"yearlyMonth1":{"type":"string","title":"yearlyMonth1"},"yearlyWeekDayNum":{"type":"string","title":"yearlyWeekDayNum"},"yearlyWeekDay":{"type":"string","title":"yearlyWeekDay"},"yearlyMonth2":{"type":"string","title":"yearlyMonth2"},"time":{"type":"string","title":"time"},"timezoneOffset":{"type":"string","title":"timezoneOffset"},"startDate":{"type":"string","title":"startDate"},"repeatTill":{"type":"string","title":"repeatTill"},"endDate":{"type":"string","title":"endDate"},"times":{"type":"string","title":"times"}}},"bitrix.tasks.tagdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"ownerId":{"type":"integer","format":"int64","title":"ownerId"},"owner":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"owner"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"}}},"bitrix.tasks.userfielddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"key":{"type":"string","title":"key"},"value":{"title":"value"}}},"bitrix.tasks.crmitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"}}},"bitrix.tasks.elapsedtimedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"minutes":{"type":"integer","format":"int64","title":"minutes"},"seconds":{"type":"integer","format":"int64","title":"seconds"},"source":{"type":"string","title":"source"},"text":{"type":"string","title":"text"},"createdAtTs":{"type":"integer","format":"int64","title":"createdAtTs"},"startTs":{"type":"integer","format":"int64","title":"startTs"},"stopTs":{"type":"integer","format":"int64","title":"stopTs"}}},"bitrix.tasks.emaildto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"title":{"type":"string","title":"title"},"body":{"type":"string","title":"body"},"from":{"type":"string","title":"from"},"dateTs":{"type":"integer","format":"int64","title":"dateTs"},"link":{"type":"string","title":"link"}}},"bitrix.tasks.sourcedto":{"type":"object","properties":{"type":{"type":"string","title":"type"},"data":{"type":"array","title":"data"}}},"bitrix.tasks.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"}}},"bitrix.tasks.resultdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"},"authorId":{"type":"integer","format":"int64","title":"authorId"},"author":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"author"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"status":{"type":"string","title":"status"},"fileIds":{"type":"array","title":"fileIds"},"rights":{"type":"array","title":"rights"},"messageId":{"type":"integer","format":"int64","title":"messageId"}}},"bitrix.timeman.recorddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"startTime":{"type":"string","format":"date-time","title":"startTime"},"endTime":{"type":"string","format":"date-time","title":"endTime"},"duration":{"type":"integer","format":"int64","title":"duration"},"breakLength":{"type":"integer","format":"int64","title":"breakLength"},"state":{"$ref":"#\/components\/schemas\/bitrix.timeman.recordstatedto","title":"state"},"isApproved":{"type":"boolean","title":"isApproved"}}},"bitrix.timeman.recordstatedto":{"type":"object","properties":{"status":{"type":"string","title":"status"},"recommendedCloseTime":{"type":"integer","format":"int64","title":"recommendedCloseTime"}}},"bitrix.vibecodeconnector.catalogitemdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Item type"},"accessType":{"type":"string","title":"Access type"},"description":{"type":"string","title":"Description"},"editUrl":{"type":"string","title":"Edit URL"},"viewUrl":{"type":"string","title":"View URL"},"iconUrl":{"type":"string","title":"Icon URL"},"chatId":{"type":"integer","format":"int64","title":"Chat identifier"},"externalId":{"type":"string","title":"External identifier"},"ownerId":{"type":"integer","format":"int64","title":"Owner user identifier"},"color":{"type":"string","title":"Color"},"createdAt":{"type":"string","title":"Date of creation (ISO-8601)"},"updatedAt":{"type":"string","title":"Date of last update (ISO-8601)"}}},"bitrix.vibecodeconnector.accessdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"accessCodes":{"type":"array","title":"Catalog item access codes"}}}}}} \ No newline at end of file diff --git a/docs/testing.md b/docs/testing.md index ad30f84f..785269e3 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -302,6 +302,7 @@ skip_violations: | `make test-integration-catalog-document-annotations` | Warehouse accounting document result annotations | | `make test-integration-catalog-document-element` | Warehouse accounting document line items | | `make test-integration-catalog-document-element-annotations` | Warehouse accounting document line item result annotations | +| `make test-integration-catalog-ratio` | Measurement unit ratio | ### Tests — integration (Tasks) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 193fc046..2c2c5843 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -584,6 +584,9 @@ ./tests/Integration/Services/Catalog/DocumentElement/Result/DocumentElementItemResultTest.php + + ./tests/Integration/Services/Catalog/Ratio/ + diff --git a/src/Services/Catalog/CatalogServiceBuilder.php b/src/Services/Catalog/CatalogServiceBuilder.php index 01219dae..df448d6a 100644 --- a/src/Services/Catalog/CatalogServiceBuilder.php +++ b/src/Services/Catalog/CatalogServiceBuilder.php @@ -290,4 +290,16 @@ public function documentElement(): Catalog\DocumentElement\Service\DocumentEleme return $this->serviceCache[__METHOD__]; } + + public function ratio(): Catalog\Ratio\Service\Ratio + { + if (!isset($this->serviceCache[__METHOD__])) { + $this->serviceCache[__METHOD__] = new Catalog\Ratio\Service\Ratio( + $this->core, + $this->log + ); + } + + return $this->serviceCache[__METHOD__]; + } } diff --git a/src/Services/Catalog/Ratio/Result/RatioItemResult.php b/src/Services/Catalog/Ratio/Result/RatioItemResult.php new file mode 100644 index 00000000..b435a8ba --- /dev/null +++ b/src/Services/Catalog/Ratio/Result/RatioItemResult.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\Ratio\Result; + +use Bitrix24\SDK\Core\Result\AbstractAnnotatedItem; + +/** + * @property-read int $id + * @property-read bool $isDefault + * @property-read int $productId + * @property-read float $ratio + */ +class RatioItemResult extends AbstractAnnotatedItem +{ +} diff --git a/src/Services/Catalog/Ratio/Result/RatioResult.php b/src/Services/Catalog/Ratio/Result/RatioResult.php new file mode 100644 index 00000000..c693067e --- /dev/null +++ b/src/Services/Catalog/Ratio/Result/RatioResult.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\Ratio\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Result\AbstractResult; + +class RatioResult extends AbstractResult +{ + /** + * @throws BaseException + */ + public function ratio(): RatioItemResult + { + return new RatioItemResult($this->getCoreResponse()->getResponseData()->getResult()['ratio']); + } +} diff --git a/src/Services/Catalog/Ratio/Result/RatiosResult.php b/src/Services/Catalog/Ratio/Result/RatiosResult.php new file mode 100644 index 00000000..25ffdec2 --- /dev/null +++ b/src/Services/Catalog/Ratio/Result/RatiosResult.php @@ -0,0 +1,42 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\Ratio\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Result\AbstractResult; + +class RatiosResult extends AbstractResult +{ + /** + * @return RatioItemResult[] + * @throws BaseException + */ + public function getRatios(): array + { + $items = []; + foreach ($this->getCoreResponse()->getResponseData()->getResult()['ratios'] as $item) { + $items[] = new RatioItemResult($item); + } + + return $items; + } + + /** + * @throws BaseException + */ + public function getTotal(): int + { + return $this->getCoreResponse()->getResponseData()->getPagination()->getTotal() ?? 0; + } +} diff --git a/src/Services/Catalog/Ratio/Service/Ratio.php b/src/Services/Catalog/Ratio/Service/Ratio.php new file mode 100644 index 00000000..8741bf5a --- /dev/null +++ b/src/Services/Catalog/Ratio/Service/Ratio.php @@ -0,0 +1,88 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\Ratio\Service; + +use Bitrix24\SDK\Attributes\ApiEndpointMetadata; +use Bitrix24\SDK\Attributes\ApiServiceMetadata; +use Bitrix24\SDK\Core\Credentials\Scope; +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Core\Result\FieldsResult; +use Bitrix24\SDK\Services\AbstractService; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatioResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatiosResult; + +#[ApiServiceMetadata(new Scope(['catalog']))] +class Ratio extends AbstractService +{ + /** + * Returns the values of the measurement unit ratio fields by identifier. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get.html + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.ratio.get', + 'https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get.html', + 'Returns the values of the measurement unit ratio fields by identifier.' + )] + public function get(int $id): RatioResult + { + $this->guardPositiveId($id); + + return new RatioResult($this->core->call('catalog.ratio.get', ['id' => $id])); + } + + /** + * Returns a list of measurement unit ratios from the catalog matching the given filter. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-list.html + * + * @param string[] $select + * @param array $filter + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.ratio.list', + 'https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-list.html', + 'Returns a list of measurement unit ratios from the catalog matching the given filter.' + )] + public function list(array $select = [], array $filter = []): RatiosResult + { + return new RatiosResult($this->core->call('catalog.ratio.list', [ + 'select' => $select, + 'filter' => $filter, + ])); + } + + /** + * Returns the available fields of a measurement unit ratio. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get-fields.html + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.ratio.getFields', + 'https://apidocs.bitrix24.com/api-reference/catalog/ratio/catalog-ratio-get-fields.html', + 'Returns the available fields of a measurement unit ratio.' + )] + public function fields(): FieldsResult + { + return new FieldsResult($this->core->call('catalog.ratio.getFields')); + } +} diff --git a/tests/Integration/Services/Catalog/Ratio/Result/RatioItemResultAnnotationsTest.php b/tests/Integration/Services/Catalog/Ratio/Result/RatioItemResultAnnotationsTest.php new file mode 100644 index 00000000..94e537ce --- /dev/null +++ b/tests/Integration/Services/Catalog/Ratio/Result/RatioItemResultAnnotationsTest.php @@ -0,0 +1,85 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Integration\Services\Catalog\Ratio\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatioItemResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Service\Ratio; +use Bitrix24\SDK\Tests\CustomAssertions\CustomBitrix24Assertions; +use Bitrix24\SDK\Tests\Integration\Factory; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\Attributes\TestDox; +use PHPUnit\Framework\TestCase; + +#[CoversClass(RatioItemResult::class)] +class RatioItemResultAnnotationsTest extends TestCase +{ + use CustomBitrix24Assertions; + + private Ratio $ratioService; + + #[\Override] + protected function setUp(): void + { + $this->ratioService = Factory::getServiceBuilder()->getCatalogScope()->ratio(); + } + + /** + * catalog.ratio has no REST method to create a ratio — ratios are created implicitly when a + * product's measurement unit ratio is configured. + * If the portal has none, this test is skipped as there is no way to fabricate one via REST. + * + * @return array + * @throws BaseException + * @throws TransportException + */ + private function getFirstRatioRawItem(): array + { + $rawItems = $this->ratioService->list() + ->getCoreResponse()->getResponseData()->getResult()['ratios']; + + if ($rawItems === []) { + $this->markTestSkipped('portal has no catalog ratios (catalog.ratio) configured to test annotations against'); + } + + return $rawItems[0]; + } + + #[Test] + #[TestDox('all fields in RatioItemResult are annotated in phpdoc and match with raw api response')] + public function testAllSystemFieldsAnnotated(): void + { + $rawItem = $this->getFirstRatioRawItem(); + + $this->assertBitrix24AllResultItemFieldsAnnotated( + array_keys($rawItem), + RatioItemResult::class + ); + } + + #[Test] + #[TestDox('all fields in RatioItemResult have valid type casting in magic getters')] + public function testAllSystemFieldsHasValidTypeAnnotation(): void + { + $rawItem = $this->getFirstRatioRawItem(); + $ratioItemResult = new RatioItemResult($rawItem); + + $this->assertBitrix24ResultItemFieldsTypeCastMatchAnnotations( + $ratioItemResult, + RatioItemResult::class + ); + } +} diff --git a/tests/Integration/Services/Catalog/Ratio/Service/RatioTest.php b/tests/Integration/Services/Catalog/Ratio/Service/RatioTest.php new file mode 100644 index 00000000..21cad5d5 --- /dev/null +++ b/tests/Integration/Services/Catalog/Ratio/Service/RatioTest.php @@ -0,0 +1,85 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Integration\Services\Catalog\Ratio\Service; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatioItemResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Service\Ratio; +use Bitrix24\SDK\Tests\Integration\Factory; +use PHPUnit\Framework\Attributes\CoversMethod; +use PHPUnit\Framework\TestCase; + +#[CoversMethod(Ratio::class, 'get')] +#[CoversMethod(Ratio::class, 'list')] +#[CoversMethod(Ratio::class, 'fields')] +class RatioTest extends TestCase +{ + private Ratio $ratioService; + + #[\Override] + protected function setUp(): void + { + $this->ratioService = Factory::getServiceBuilder()->getCatalogScope()->ratio(); + } + + /** + * @throws BaseException + * @throws TransportException + */ + public function testGetFields(): void + { + $fields = $this->ratioService->fields()->getFieldsDescription(); + + self::assertArrayHasKey('ratio', $fields); + self::assertArrayHasKey('id', $fields['ratio']); + self::assertArrayHasKey('isDefault', $fields['ratio']); + self::assertArrayHasKey('productId', $fields['ratio']); + self::assertArrayHasKey('ratio', $fields['ratio']); + } + + /** + * @throws BaseException + * @throws TransportException + */ + public function testList(): void + { + $ratiosResult = $this->ratioService->list(); + + self::assertIsArray($ratiosResult->getRatios()); + self::assertGreaterThanOrEqual(0, $ratiosResult->getTotal()); + } + + /** + * catalog.ratio has no REST method to create a ratio — ratios are created implicitly when a + * product's measurement unit ratio is configured. + * If the portal has none, this test is skipped as there is no way to fabricate one via REST. + * + * @throws BaseException + * @throws TransportException + */ + public function testGet(): void + { + $ratios = $this->ratioService->list()->getRatios(); + if ($ratios === []) { + $this->markTestSkipped('portal has no catalog ratios (catalog.ratio) configured to test get() against'); + } + + $firstRatio = $ratios[0]; + $ratioItemResult = $this->ratioService->get($firstRatio->id)->ratio(); + + self::assertInstanceOf(RatioItemResult::class, $ratioItemResult); + self::assertEquals($firstRatio->id, $ratioItemResult->id); + } +} diff --git a/tests/Unit/Services/Catalog/Ratio/Service/RatioTest.php b/tests/Unit/Services/Catalog/Ratio/Service/RatioTest.php new file mode 100644 index 00000000..ecf4a098 --- /dev/null +++ b/tests/Unit/Services/Catalog/Ratio/Service/RatioTest.php @@ -0,0 +1,62 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Unit\Services\Catalog\Ratio\Service; + +use Bitrix24\SDK\Core\Exceptions\InvalidArgumentException; +use Bitrix24\SDK\Core\Result\FieldsResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatioResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Result\RatiosResult; +use Bitrix24\SDK\Services\Catalog\Ratio\Service\Ratio; +use Bitrix24\SDK\Tests\Unit\Stubs\NullCore; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\TestCase; +use Psr\Log\NullLogger; + +#[CoversClass(Ratio::class)] +class RatioTest extends TestCase +{ + private Ratio $service; + + #[\Override] + protected function setUp(): void + { + $this->service = new Ratio(new NullCore(), new NullLogger()); + } + + #[Test] + public function testGetReturnsRatioResult(): void + { + $this->assertInstanceOf(RatioResult::class, $this->service->get(1)); + } + + #[Test] + public function testListReturnsRatiosResult(): void + { + $this->assertInstanceOf(RatiosResult::class, $this->service->list()); + } + + #[Test] + public function testFieldsReturnsFieldsResult(): void + { + $this->assertInstanceOf(FieldsResult::class, $this->service->fields()); + } + + #[Test] + public function testGetThrowsOnNonPositiveId(): void + { + $this->expectException(InvalidArgumentException::class); + $this->service->get(0); + } +}