You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
62 lines
2.4 KiB
Plaintext
Vendored
62 lines
2.4 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 5
|
|
description: Get asynchronous change status and other functions to work with Dropbox in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
|
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Dropbox]
|
|
---
|
|
|
|
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.u.AGCV5bFAEGMHdc0cW0wuRSU8nduEEjAsajtP1ta3Vw4D6k7ivqMiVj2QuaBqy1n9RZhUrftIcKDKh8XtftjcKoA4KBUyY3W5fiUANoMPG6j3Q7Cj--vAoOk9aDWk2ZvsDH_hLA1L5-PlvgA4SyTbNJb8QK3AJh4UX71iKOJUYtb1YDy81VRf4XWiBHyXMoD14rr07VggYfiAIHaMpgJUxkwVSGbiPxD7UlBK8zJC5kwOJqBss7pc5i7Tslne5nt2fno80MmEV_EJoi75M5kpCP2CdLEdChfFLwFNADZq6ox3OGxJ4d8TFI6aZ7Ue1yGJd67Ye2LJ3GnmpkdcKyH1Ovh_sV4slW46OLh1dJQbFdNrgILYXHaoJJrMDJodn6YR8cTWmWQ7IIlw-trIEcIBbPzPtiI3F7xW_5KGD7C3NkmDaCUD4PBnaWI-XplRHQR_RQjMTqW3SWO0sg6RcriVDAKyA6RB8zS6qwfwj23i1RwDM0e2nwrgl6XG9RSKhGYHy1jj2d_YAU9vxw61x2VFF1ILNS7833SYZ5kIDrjjhqUeKD5MoCAz6YxyE0xfSZhRZ4B8ONLeSf6SOOYVSKLi4DxMxurzFC90j0u6KFVsdYiUfeoTXarehRMafAbSnszOJcXQqevbDfsGKtbbHFQUyCaoUkia90jKnIB5W1q2Ksp1QKUcKudSiCPRT7DPRXE1LGK2WsjfmdMJyqbBSb86Yfa0ZJ8i0QT...";
|
|
JobID = "dbjid:AABrac8PphxT78bREy4iPy_hmTaVGPAVw6hGVmfusyoEjC64OCbuDJekdrbFVNe3qDU_i5aPVVJ0VyvNP9fR8vlo";
|
|
|
|
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
|
|
```
|
|
|
|
|
|
<Tabs>
|
|
|
|
<TabItem value="bash" label="Bash" default>
|
|
```bash
|
|
oint dropbox GetAsynchronousChangeStatus \
|
|
--token "***" \
|
|
--job "dbjid:AAD3qz9rN0uzLfNpzX9PB7z1vTD5-UwggQLR7Eh0VnF2alUP_i6nTRIeuz7Vmi7Tw6WPIoXLPO0l5EhtR3TMsvMP"
|
|
```
|
|
</TabItem>
|
|
|
|
<TabItem value="bat" label="CMD/Bat" default>
|
|
```batch
|
|
oint dropbox GetAsynchronousChangeStatus ^
|
|
--token "***" ^
|
|
--job "dbjid:AAD3qz9rN0uzLfNpzX9PB7z1vTD5-UwggQLR7Eh0VnF2alUP_i6nTRIeuz7Vmi7Tw6WPIoXLPO0l5EhtR3TMsvMP"
|
|
```
|
|
</TabItem>
|
|
</Tabs>
|
|
|
|
|
|
```json title="Result"
|
|
{
|
|
".tag": "complete"
|
|
}
|
|
```
|