Publié Mon, 06 Apr 2020 09:03:23 GMT par Chema Lopez Developer
Hi.

I have a basket with Intelligent Indexing activated. I want to archive documents without user interaction, that is, automatically. I have tried to do this by using REST API but I haven't found any examples.

I tried this URL with no success.
https://SERVER.docuware.cloud/DocuWare/Platform/FileCabinets/{basket_id}/Archiving/ArchiveDocument?id={docid}

Could anyone help me with this?

Thank you
Publié Mon, 06 Apr 2020 09:04:23 GMT par Matthias Wieland DocuWare Europe GmbH Sr. Director Support EMEA
Dear Chema Lopez! It looks like the Community cannot answer your question. That's why we have opened a Support Request with the Number SR-124049-K4M0C for you. A Software Support Specialist will contact you directly to follow up. We will update this thread with the solution as soon as we have resolved the Support Request. With best regards, DocuWare Support Team
Publié Tue, 21 Apr 2020 11:47:21 GMT par Chema Lopez Developer

Hi.

I finally found the solution. Here it is in case someone comes here by search.

You have to make a POST call:

https://{HOST}/DocuWare/Platform/FileCabinets/{filecabinet_id}/Task/Transfer?storeDialogId={store_dialog_id}

Be sure to add Content-Type header:

Content-Type: application/vnd.docuware.platform.documentstransferinfo+json

HTTP request body:

{"SourceFileCabinetId":"<basket_id>","Documents": [{"Id":<doc_id>,"Fields":null}],"KeepSource":false,"FillIntellix":false,"UseDefaultDialog":false}

If you set UseDefaultDialog to true you do not have to use storeDialogId param.

You must be signed in to post in this forum.