You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
63 lines
1.4 KiB
Plaintext
Vendored
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 "2a9d8b43f"
|
|
```
|
|
</TabItem>
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
```batch
|
|
melezh GetRequestsHandler ^
|
|
--proj "/proj.melezh" ^
|
|
--handler "2a9d8b43f"
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
```json title="Result"
|
|
{
|
|
"data": {
|
|
"active": 1,
|
|
"function": "SendTextMessage",
|
|
"key": "2a9d8b43f",
|
|
"library": "telegram",
|
|
"method": "GET",
|
|
"args": []
|
|
},
|
|
"result": true
|
|
}
|
|
```
|