Show / Hide Table of Contents

    Download Document

    Download document as original

    Values to be replaced:

    • servername.com with your DocuWare server address.
    • {FileCabinetId} with the FileCabinetId you get from the response of Get all FileCabinets.
    • {DocumentId} with the DocumentId you get from the response of Get all documents from a FileCabinet.
    • "C:\Temp\filename.type" must be replaced with the path were the file belongs to.
    • "C:\Temp\login.cookies" with the path to the cookie jar file you defined by the Login.
    curl --location -g --request GET "https://servername.com/docuware/platform/FileCabinets/{FileCabinetId}/Documents/{DocumentId}/FileDownload?targetFileType=Auto&keepAnnotations=false" ^
    --output "C:\Temp\filename.type" ^
    --cookie "C:\Temp\login.cookies"
    

    Download document with annotations

    Values to be replaced:

    • servername.com with your DocuWare server address.
    • {FileCabinetId} with the FileCabinetId you get from the response of Get all FileCabinets.
    • {DocumentId} with the DocumentId you get from the response of Get all documents from a FileCabinet.
    • "C:\Temp\filename.type" must be replaced with the path were the file belongs to.
    • "C:\Temp\login.cookies" with the path to the cookie jar file you defined by the Login.
    curl --location -g --request GET "https://servername.com/docuware/platform/FileCabinets/{FileCabinetId}/Documents/{DocumentId}/FileDownload?targetFileType=PDF&keepAnnotations=true" ^
    --output "C:\Temp\filename.type" ^
    --cookie "C:\Temp\login.cookies"
    
    Caution

    targetFileType=Auto can't be used for downloading a document with annotation.

    About Us Contact Imprint Terms Data privacy
    © 2024 DocuWare Corporation powered by DocFX Back to top