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

Get PDF Report

Developing
GET
api/ccs/v1/tests/{id}/report
Generates a PDF report for a specific CCS test and returns it as a base64-encoded string. This endpoint is ideal when you need to embed the PDF in your application, send it via API to downstream systems, or store it in a database.

Request

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

Responses

🟢200
application/json
Body

🟠404Not Found - Test doesn't exist
🟠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' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
  "status": "error",
  "message": "CCS Test not found",
  "ccsTestId": "b4f1a1d4-0ef7-4f0e-9f34-2c3c5e4f6a10",
  "errors": [
    "The specified CCS test does not exist"
  ]
}
Modified at 2026-04-09 11:34:19
Previous
Downlaod PDF Report
Next
TestResponse
Built with