1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/Dropbox/CancelFolderPublication.txt

13 lines
468 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 Token = FunctionParameters["Dropbox_Token"];
Folder = FunctionParameters["Dropbox_SharedFolder"];
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);
CurrentStatus = "in_progress";
JobID = Result["async_job_id"];
WHile CurrentStatus = "in_progress" Do
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
CurrentStatus = Result[".tag"];
OPI_Tools.Pause(3);
EndDo;