• URL Integration: Set the Viewer window/iframe name when using Basket option

    Hi.

    I am doing some URL integration tests. I create the URL for the Basket option (p=B). As documentation shows, if I use the tw option (tw=visor) to set the target window/iframe, when storing a file the Viewer should open in that window/iframe but it always opens in a new window.

    I would like to use this way:

    NAVIGATOR WINDOW
    --------------------------------
    [BASKET IFRAME] | [VIEWER IFRAME]

    This is the HTML snippet:
    <iframe src='url-integration' height='600' width='700'></iframe>
    <iframe id='visor' name='visor' height='600' width='500'></iframe>

     
  • RE: Create new user via REST API not working

    Thank you very much.

    I tried to use PUT and some other HTTP methods just in case.

    With the Content-Type option works ok.

     
  • Create new user via REST API not working

    I try to create a new user by REST API as documented but I get an error.

    This is an example:

    POST https://MYCOMPANY.docuware.cloud/DocuWare/Platform/Organization/UserInfo
    {
        "Name": "Demo",
        "DbName": "DEMO",
        "Email": "demo@mycompany.com",
        "NetworkId": "",
        "Password": "mysecretpw"
    }

    Response:
    {
        "Message": "'' is not valid user id",
        "Exception": "InvalidGuidException: '' is not valid user id",
        "Uri": "http://MYCOMPANY.docuware.cloud/DocuWare/Platform/Organization/UserInfo",
        "Method": "POST",
        "StatusCode": 422,
        "Status": "Unprocessable Entity",
        "InternalCode": 0
    }

    I would like to know what I am doing wrong.

    Thank you in advance.

     
  • RE: Send Table index data to REST web service in a workflow

    <p>Thank you for your response.</p>
  • RE: Send Table index data to REST web service in a workflow

    <p>&lt;p&gt;The first screenshot is lost.&lt;/p&gt;</p>
  • Send Table index data to REST web service in a workflow

    I would like to know if it is possible to send all table index data in the JSON structure of the REST call of a web service.<br> <br> I mean:<br> <br> <img><br> <br> I know we can access that information through DocuWare API but that will require a DocuWare user.<br> &#160;
  • 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:
    [STATUS]=EMPTY()
    [STATUS]=1
    [TIPODOCUMENTO]="REGISTRO"

    But none has been successful.

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

    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.

  • Store document in filecabinet with Intelling Indexing using REST API

    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