• Invoke HTTP POST form URL

    I have analyzed the HTTP calls involving a Form. I want to replicate them wihout using the HTML form provided by DocuWare. But the server gives a 500 error.
    <?xml version="1.0" encoding="utf-8"?>
    <?xml-stylesheet type="text/xsl" href="/DocuWare/Forms/Content/errors.xslt"?>
    <s:Error Uri="http://ORGANIZATION.docuware.cloud/DocuWare/Forms/Submit" Method="POST" StatusCode="500" Status="Internal Server Error" xmlns:s="http://dev.docuware.com/schema/public/services">
        <s:Message>Object reference not set to an instance of an object.</s:Message>
        <s:Exception>System.NullReferenceException: Object reference not set to an instance of an object.
    I think some cookies or parameters are missing but I would like to know if there is a simple guide to do that or I will have to do more research of the HTTP calls.

  • BatchQueryUpdateFields REST usage

    I have been trying to use BatchQueryUpdateFields function in API REST without success.

    Documentation explains that q parameter is the query to select documents to update. Here is one example of what I am trying to do.
    POST /DocuWare/Platform/FileCabinets/<filecabinetid>/Operations/BatchQueryUpdateFields?q=W1NUQVRVU109RU1QVFkoKQ%3D%3D

    q parameter is Base64 encoded

    I get an error response:
    {"ShowException":false,"Message":"The expression type [[STATUS]=EMPTY()] is not recognized","Exception":"UnprocessableEntityException: The expression type [[STATUS]=EMPTY()] is not recognized","Uri":"http://<host>/DocuWare/Platform/FileCabinets/<filecabinetid>/Operations/BatchQueryUpdateFields?q=W1NUQVRVU109RU1QVFkoKQ%3D%3D","Method":"POST","StatusCode":422,"Status":"Unprocessable Entity","InternalCode":0}

    I have tried several conditions:

    But none has been successful.

    I hope someone can help me.
  • RE: Store document in filecabinet with Intelling Indexing using REST API


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

    You have to make a POST call:


    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.

  • Store document in filecabinet with Intelling Indexing using REST API


    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.

    Could anyone help me with this?

    Thank you
  • RE: REST API: Workflow list

    There is also a problem I recently found.

    Accessing the URL
    returns a list of tasks.

    If there are several tasks each of them assigned to an user, the ColumnValue WF_Task_User_Name contains the username.

    But accessing the URL of these tasks
    returns the same WF_Task_User_Name in all tasks.

  • RE: REST API: Workflow list

    Thank you Simon.

    Since I use the REST API not the .NET library the equivalent call would be:


    Still, there are several workflows that are not shown even though the logged user is controller for those.

    For example, I see one workflow with one active instance in Workflow Designer but if I get workflow info through REST API it shows TaskCount=0 but there is one task.

    <?xml version="1.0" encoding="utf-8"?>
    <?xml-stylesheet type="text/xsl" href="/DocuWare/Platform/Content/standard.xslt"?>
    <WorkflowTasks xmlns:s="http://dev.docuware.com/schema/public/services" Count="0" TimeStamp="2020-02-25T09:56:07.841371Z"
        <s:Link rel="first" href="/DocuWare/Platform/ControllerWorkflows/xxx/Tasks?count=50" />
        <s:Link rel="self" href="/DocuWare/Platform/ControllerWorkflows/xxx/Tasks?start=0&amp;count=50" />
      <Task Id="Id" InstanceId="InstanceId" IsRead="false" AllowDecisionStamp="true" ActivityDescription="" DocId="DocId"
            ActivityType="GeneralTask" NodeId="NodeId" WorkflowVersionId="WorkflowVersionId">
        <DefaultDecisionId p4:nil="true" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance" />

  • REST API: Workflow list


    We have several Workflows in a DocuWare cloud instance. When we try to list those workflows by using REST API (https://CLIENT.docuware.cloud/DocuWare/Platform/Workflows) only few of them are shown.

    If I access directly to one ot those hidden workflows it is shown: https://CLIENT.docuware.cloud/DocuWare/Platform/Workflows/{WORKFLOW_ID}

    That workflow has three active tasks but if I list them through REST API (https://CLIENT.docuware.cloud/DocuWare/Platform/Workflows/{WORKFLOW_ID}/Tasks) only one is shown.

    We have checked permissions and everything seems to be right.

    The version is 7.1.
  • RE: Accept-encoding: gzip for FileDownload

    Thank you very much. I'll post the answer here so anybody searching can find the solution.

    Add this to download URL:

    Be aware that clipped documents are already downloaded as a ZIP file. There is no double zip compression. You have to check if zip file contains one or more files.
  • Accept-encoding: gzip for FileDownload


    We are using the REST API for several tasks. In one of them, the application downloads the file through FileDownload. We want to improve download times since some documents are quite large. It seems that cloud server does not enable gzip compression when downloading original document, but it does with regular HTML pages.

    I would like to know if there is a way to enable this.

    Thank you in advance.
  • Thank you Joe.

    Thank you Joe.

    I am using Java and Spring to integrate some applications with DocuWare. I finally was able to do it the way you say.