mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-05-15 22:26:32 +02:00
61 lines
1.5 KiB
Plaintext
Vendored
61 lines
1.5 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 5
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Get asynchronous change status
|
|
Get async job status for access changes
|
|
|
|
|
|
|
|
`Function GetAsynchronousChangeStatus(Val Token, Val JobID) Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| Token | --token | String | ✔ | Token |
|
|
| JobID | --job | String | ✔ | AsynchronousJobID |
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
Token = "sl.CDM2TsVftn5aH3_nUX4tbw3JdByXhgO0FyL2ev0gBXGOhHv5k_uHgwYs0N_qMH4TQLm-nWvPGq...";
|
|
JobID = "dbjid:AAD8ns009uBXhbHnqV4HV6Yv5_jdFVizGeS2pgAUqIOwCCQCXLYYjMJZjSuu3Gz0Nw-F4u_-ZXRk0vwxKFXTSmqC";
|
|
|
|
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
|
|
```
|
|
|
|
|
|
<Tabs>
|
|
|
|
<TabItem value="bash" label="Bash" default>
|
|
```bash
|
|
oint dropbox GetAsynchronousChangeStatus \
|
|
--token "***" \
|
|
--job "dbjid:AADEGB26bxo6N374NnPZIPr9_ZLBJ8TavSS-3sgSkuTVuPQlp0jl0vbrRf-S5O8bCNQwg2Gn5xhTrbQwqJllNGSP"
|
|
```
|
|
</TabItem>
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
```batch
|
|
oint dropbox GetAsynchronousChangeStatus ^
|
|
--token "***" ^
|
|
--job "dbjid:AADEGB26bxo6N374NnPZIPr9_ZLBJ8TavSS-3sgSkuTVuPQlp0jl0vbrRf-S5O8bCNQwg2Gn5xhTrbQwqJllNGSP"
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
|
|
```json title="Result"
|
|
{
|
|
".tag": "complete"
|
|
}
|
|
```
|