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-02 18:50:41 +03:00
|
|
|
Token = "sl.CB3Ppv-heMGAtz7VGnrX2QCBUahgZ7iiChxnPAHWs9vqQ5ZcBLmznTMZ8h3IvAuhPOSm89QiaV...";
|
|
|
|
JobID = "dbjid:AABzvkIjgsKnZRh2MQK3YRFm1etV9DtW3VEnX1NFzy0B1AFkm9tOvKlZN-2LycBXT9sgrQW3f-kgAnN1r0oxwJcL";
|
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-04 15:18:40 +03:00
|
|
|
--job "dbjid:AAD3FcG58Ra_7VGrJTkChbnObV2s51nEisb1q5ks5oBRy4FTRHNxLGyAv_7-HzhWZy9BQDJUIs9LSOWsYgAMNMH8"
|
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-04 15:18:40 +03:00
|
|
|
--job "dbjid:AAD3FcG58Ra_7VGrJTkChbnObV2s51nEisb1q5ks5oBRy4FTRHNxLGyAv_7-HzhWZy9BQDJUIs9LSOWsYgAMNMH8"
|
2024-10-20 22:36:03 +03:00
|
|
|
```
|
|
|
|
</TabItem>
|
|
|
|
</Tabs>
|
2024-10-15 10:16:04 +03:00
|
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
|
|
{
|
|
|
|
".tag": "complete"
|
|
|
|
}
|
|
|
|
```
|