2024-10-15 10:50:56 +03:00
|
|
|
---
|
2024-10-15 10:16:04 +03:00
|
|
|
sidebar_position: 5
|
|
|
|
---
|
|
|
|
|
2024-10-15 10:50:56 +03:00
|
|
|
import Tabs from '@theme/Tabs';
|
|
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
|
2024-10-15 10:16:04 +03:00
|
|
|
# Get asynchronous change status
|
|
|
|
Get async job status for access changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`Function GetAsynchronousChangeStatus(Val Token, Val JobID) Export`
|
|
|
|
|
2024-10-15 15:15:47 +03:00
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|
|
|-|-|-|-|-|
|
|
|
|
| Token | --token | String | ✔ | Token |
|
|
|
|
| JobID | --job | String | ✔ | AsynchronousJobID |
|
2024-10-15 10:16:04 +03:00
|
|
|
|
|
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-15 21:15:56 +03:00
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
2024-12-24 20:21:21 +03:00
|
|
|
Token = "sl.CDM2TsVftn5aH3_nUX4tbw3JdByXhgO0FyL2ev0gBXGOhHv5k_uHgwYs0N_qMH4TQLm-nWvPGq...";
|
|
|
|
JobID = "dbjid:AAD8ns009uBXhbHnqV4HV6Yv5_jdFVizGeS2pgAUqIOwCCQCXLYYjMJZjSuu3Gz0Nw-F4u_-ZXRk0vwxKFXTSmqC";
|
2024-10-15 10:16:04 +03:00
|
|
|
|
|
|
|
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2024-10-20 22:36:03 +03:00
|
|
|
<Tabs>
|
|
|
|
|
|
|
|
<TabItem value="bash" label="Bash" default>
|
|
|
|
```bash
|
|
|
|
oint dropbox GetAsynchronousChangeStatus \
|
2024-10-22 08:59:24 +03:00
|
|
|
--token "***" \
|
2024-12-25 11:43:34 +03:00
|
|
|
--job "dbjid:AADEGB26bxo6N374NnPZIPr9_ZLBJ8TavSS-3sgSkuTVuPQlp0jl0vbrRf-S5O8bCNQwg2Gn5xhTrbQwqJllNGSP"
|
2024-10-20 22:36:03 +03:00
|
|
|
```
|
|
|
|
</TabItem>
|
|
|
|
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
|
|
```batch
|
|
|
|
oint dropbox GetAsynchronousChangeStatus ^
|
2024-10-22 08:59:24 +03:00
|
|
|
--token "***" ^
|
2024-12-25 11:43:34 +03:00
|
|
|
--job "dbjid:AADEGB26bxo6N374NnPZIPr9_ZLBJ8TavSS-3sgSkuTVuPQlp0jl0vbrRf-S5O8bCNQwg2Gn5xhTrbQwqJllNGSP"
|
2024-10-20 22:36:03 +03:00
|
|
|
```
|
|
|
|
</TabItem>
|
|
|
|
</Tabs>
|
2024-10-15 10:16:04 +03:00
|
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
|
|
{
|
|
|
|
".tag": "complete"
|
|
|
|
}
|
|
|
|
```
|