You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-07 23:03:08 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -26,7 +26,10 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
|
||||
Result = OPI_IntegrationProxy.GetHandlerArguments(Project, HandlerKey);
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,15 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
Argument = "token";
|
||||
Value = "12345";
|
||||
|
||||
Result = OPI_IntegrationProxy.SetHandlerArguments(Project
|
||||
, HandlerKey
|
||||
, Argument
|
||||
, Value);
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
OintLibrary = "telegram";
|
||||
OintFunction = "SendTextMessage";
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
HandlerKey = "71A3...";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
|
||||
Result = OPI_IntegrationProxy.DeleteRequestHandler(Project, HandlerKey);
|
||||
```
|
||||
|
||||
@@ -26,8 +26,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
HandlerKey = "71A3...";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
|
||||
Result = OPI_IntegrationProxy.DisableRequestsHandler(Project, HandlerKey);
|
||||
```
|
||||
|
||||
@@ -26,8 +26,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
HandlerKey = "71A3...";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
|
||||
Result = OPI_IntegrationProxy.EnableRequestsHandler(Project, HandlerKey);
|
||||
```
|
||||
|
||||
@@ -25,7 +25,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
|
||||
Result = OPI_IntegrationProxy.GetRequestHandlersList(Project);
|
||||
```
|
||||
|
||||
@@ -26,8 +26,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
HandlerKey = "71A3...";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
|
||||
Result = OPI_IntegrationProxy.GetRequestsHandler(Project, HandlerKey);
|
||||
```
|
||||
|
||||
46
docs/en/md/Integration_proxy_methods/Handlers-configuration/Update-handler-key.mdx
vendored
Normal file
46
docs/en/md/Integration_proxy_methods/Handlers-configuration/Update-handler-key.mdx
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
sidebar_position: 8
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Update handler key
|
||||
Replaces the handler key with a new one
|
||||
|
||||
|
||||
|
||||
`Function UpdateHandlerKey(Val Project, Val HandlerKey, Val NewKey = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| HandlerKey | --handler | String | ✔ | Handler key |
|
||||
| NewKey | --key | String | ✖ | Custom key, if necessary. New standard UUID by default |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Information about the handler
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
NewKey = "mykey";
|
||||
|
||||
// Custom key
|
||||
|
||||
Result = OPI_IntegrationProxy.UpdateHandlerKey(Project, HandlerKey, NewKey);
|
||||
|
||||
// New random key
|
||||
|
||||
Result = OPI_IntegrationProxy.UpdateHandlerKey(Project, NewKey);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
HandlerKey = "71A3...";
|
||||
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
HandlerKey = "10ba...";
|
||||
OintLibrary = "dropbox";
|
||||
OintFunction = "CreateFolder";
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Path = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_31.oint";
|
||||
Path = "C:\Users\Administrator\AppData\Local\Temp\v8_BDED_4b.oint";
|
||||
|
||||
Result = OPI_IntegrationProxy.CreateProject(Path);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user