mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-23 21:29:38 +02:00
44 lines
1.2 KiB
Plaintext
Vendored
44 lines
1.2 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 5
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Update requests handler
|
|
Changes the values of the request handler fields
|
|
|
|
|
|
|
|
`Function UpdateRequestsHandler(Val Project, Val HandlerKey, Val OintLibrary = "", Val OintFunction = "", Val Method = "") Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| Project | --proj | String | ✔ | Project filepath |
|
|
| HandlerKey | --handler | String | ✔ | Handler key |
|
|
| OintLibrary | --lib | String | ✖ | Library name in CLI command format |
|
|
| OintFunction | --func | String | ✖ | OpenIntegrations function name |
|
|
| Method | --method | String | ✖ | HTTP method that will process the handler: GET, POST, FORM |
|
|
|
|
|
|
Returns: Structure Of KeyAndValue - Result of handler modification
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_9B5_45.oint";
|
|
HandlerKey = "e52f...";
|
|
OintLibrary = "dropbox";
|
|
OintFunction = "CreateFolder";
|
|
|
|
Result = OPI_IntegrationProxy.UpdateRequestsHandler(Project, HandlerKey, OintLibrary, OintFunction);
|
|
```
|
|
|
|
|
|
|
|
|
|
|