Download partial document
Values to be replaced:
- servername.com with your DocuWare server address.
- {FileCabinetId} with the FileCabinetId you get from the response of Get all FileCabinets.
- {SectionId} with the SectionId you get from the response of Get all documents from a FileCabinet.
- Range: bytes=1000-1500 first number ist start and the second number is the end position and the unit is bytes.
- "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}/Sections/{SectionId}/Data" ^
--header "Range: bytes=1000-1500" ^
--output "C:\Temp\filename.type" ^
--cookie "C:\Temp\login.cookies"