1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-27 00:51:06 +02:00
Files
OpenIntegrations/docs/en/md/Integration_proxy_methods/Handlers-configuration/Enable-requests-handler.mdx

39 lines
748 B
Plaintext
Raw Normal View History

2025-01-31 17:10:45 +03:00
---
sidebar_position: 7
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Enable requests handler
Enables the handler by key
`Function EnableRequestsHandler(Val Project, Val HandlerKey) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| HandlerKey | --handler | String | ✔ | Handler key |
Returns: Structure Of KeyAndValue - Switching result
<br/>
```bsl title="1C:Enterprise/OneScript code example"
2025-01-31 21:58:41 +03:00
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_8DF3_13.oint";
2025-01-31 19:55:08 +03:00
HandlerKey = "E4D4...";
2025-01-31 17:10:45 +03:00
Result = OPI_IntegrationProxy.EnableRequestsHandler(Project, HandlerKey);
```