API Documentation - Version 0.3.0
Get document content
Returns a document content, e.g. the raw PDF or the raw image.
The response is not JSON but a string with the content. The response header contains the appropriate content type in Content-Type and the filename in Content-Disposition .
GET /api/claims/:claim_id/documents/:id/content
Parameter
Name | Type | Required | Description |
---|---|---|---|
claim_id | ID | Yes | The claim ID to which the documents are to be delivered, e.g. C42RT8. |
id | ID | Yes | The ID of the document, e.g. XG8U3E |
Example of request:
curl -s -H "CS-API-KEY: <your key>" -H "Content-Type: application/json" https://www.claims-online.de/api/claims/C42RT8/documents/XG8U3E/content
Example of response:
%PDF...