GuidesAPI References
GuidesAPI References
  1. Manage tests
  • Authentication
    • Obtain access token
      POST
    • Generate magic link
      POST
  • Manage tests
    • Generate draft test
      POST
    • Run CCSTest
      POST
    • Get CCSTest result
      GET
    • Downlaod PDF Report
      GET
    • Get PDF Report
      GET
  • Schemas
    • TestResponse
    • PatientReport
    • ApiResponse
  1. Manage tests

Downlaod PDF Report

Developing
GET
api/ccs/v1/tests/{id}/report/download
Generates and directly downloads a PDF report for a specific CCS test. This endpoint returns the PDF file directly with appropriate headers for browser download. Use this endpoint when you need direct file download functionality in web applications.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Query Params

Responses

🟢200Success
application/pdf
Binary PDF file stream. The filename follows the pattern CardioExplorer_Report_{id}N_{date}.pdf
🟠400Bad Request - Test has no results
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.cardioexplorer.aiapi/ccs/v1/tests//report/download?language=de' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
  "status": "error",
  "message": "Test has no results",
  "ccsTestId": "b4f1a1d4-0ef7-4f0e-9f34-2c3c5e4f6a10",
  "errors": [
    "Cannot generate report for a test without results. Please run the test first."
  ]
}
Modified at 2026-04-09 11:34:27
Previous
Get CCSTest result
Next
Get PDF Report
Built with