1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/md/Addons/Melezh/Console-Interface/Handlers-configuration/Get-requests-handler.mdx
Vitaly the Alpaca (bot) 42b3baacc0 Main build (Jenkins)
2025-05-31 23:59:15 +03:00

63 lines
1.4 KiB
Plaintext
Vendored

---
sidebar_position: 3
description: Get request handler and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get request handler
Gets information about the handler by key
`Function GetRequestsHandler(Val Project, Val HandlersKey) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| HandlersKey | --handler | String | ✔ | Handlers key |
Returns: Structure Of KeyAndValue - Handlers information
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh GetRequestsHandler \
--proj "/proj.melezh" \
--handler "3c068dd20"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh GetRequestsHandler ^
--proj "/proj.melezh" ^
--handler "3c068dd20"
```
</TabItem>
</Tabs>
```json title="Result"
{
"data": {
"active": 1,
"function": "SendTextMessage",
"key": "3c068dd20",
"library": "telegram",
"method": "GET",
"args": []
},
"result": true
}
```