mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-05-31 23:20:02 +02:00
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
---
|
|
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.CBL71_21WiKphqlWV34l0tlFn8eGn_YrnPrMexNmHltofj3DkBRsnpQEFY5O5H6i-iRl3bPDBi...";
|
|
JobID = "dbjid:AAAYNfZ4FRUuMo5_ZXEhTjPYi6IYv2fQA8gw9HzxWg41TymhjmDxbqZAI09Wfi__WolMZJhulDTkNbYpe4wcI37z";
|
|
|
|
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
|
|
```
|
|
|
|
|
|
<Tabs>
|
|
|
|
<TabItem value="bash" label="Bash" default>
|
|
```bash
|
|
oint dropbox GetAsynchronousChangeStatus \
|
|
--token "***" \
|
|
--job "dbjid:AAAyfjBA-CHO8WGdsDpE6A9OwVpUssNDkG8unSlPLCN1ZCcQ35fuwZj93ZRexf0kTx2FvMnj69XFl2ZaocqJaeFr"
|
|
```
|
|
</TabItem>
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
```batch
|
|
oint dropbox GetAsynchronousChangeStatus ^
|
|
--token "***" ^
|
|
--job "dbjid:AAAyfjBA-CHO8WGdsDpE6A9OwVpUssNDkG8unSlPLCN1ZCcQ35fuwZj93ZRexf0kTx2FvMnj69XFl2ZaocqJaeFr"
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
|
|
```json title="Result"
|
|
{
|
|
".tag": "complete"
|
|
}
|
|
```
|