Downloads a document based on document Id
GET {{baseUrl}}/public/api/projects/v1/dbs/:dbid/projects/:projid/documents/:docid?overlayid=<string>&lcid=<string>&export_type=<string>
The supplied document ID can refer to documents of various types:
docid
technically refers to COMOS device)
Body
PARAM
Key | Datatype | Required | Description |
overlayid
|
string | Working Overlay Id | |
lcid
|
string | Language Id | |
export_type
|
string | Export type. At the moment the types 'report2pdf' and 'report2excel' are supported. Note that docid must refer to a report in this case. |
HEADERS
Key | Datatype | Required | Description |
Comos-API-Session
|
string | (Required) Comos SessionId that needs to be passed with every request except Login | |
Accept
|
string |
RESPONSES
status OK