/

Get health reports

get

Fetches health reports based on query filters

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
reportTitlestringRequired

Title of the health report

Example: Annual Health Report
externalIdstringOptional

External identifier for the report

Example: EXT12345
sharedbooleanOptional

Indicates if the report is shared

Example: true
startDateone ofOptional

Start date of the report period

Example: 2023-01-01T00:00:00.000Z
string · dateOptional
or
string · date-timeOptional
endDateone ofOptional

End date of the report period

Example: 2023-12-31T23:59:59.999Z
string · dateOptional
or
string · date-timeOptional
summarystringOptional

Summary of the health report

Example: This is a summary of the health report.
cloudIdstringOptional

Cloud identifier for the report

Example: cloud-12345
personIdintegerOptional

ID of the person the report is about

Example: 123
healthReportObservationCodeanyOptional

Observation code for the health report

sortByanyOptional

Sorting criteria for the report

Default: {"field":"createdAt","order":"desc"}Example: {"field":"reportTitle","order":"asc"}
pageNumberintegerOptional

Page number for pagination

Default: 1Example: 1
pageSizeintegerOptional

Page size for pagination

Default: 10Example: 10
Responses
200

Successful response

application/json
get
/api/health-report/
200

Successful response

No content

Create health report

post

Creates a new health report

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
reportTitlestringRequired

Title of the health report

Example: Annual Health Report
externalIdstringOptional

External identifier for the report

Example: EXT12345
sharedbooleanOptional

Indicates if the report is shared

Example: true
startDateone ofOptional

Start date of the report period

Example: 2023-01-01T00:00:00.000Z
string · dateOptional
or
string · date-timeOptional
endDateone ofOptional

End date of the report period

Example: 2023-12-31T23:59:59.999Z
string · dateOptional
or
string · date-timeOptional
summarystringOptional

Summary of the health report

Example: This is a summary of the health report.
cloudIdstringOptional

Cloud identifier for the report

Example: cloud-12345
personIdintegerOptional

ID of the person the report is about

Example: 123
healthReportObservationCodeanyOptional

Observation code for the health report

sortByanyOptional

Sorting criteria for the report

Default: {"field":"createdAt","order":"desc"}Example: {"field":"reportTitle","order":"asc"}
pageNumberintegerOptional

Page number for pagination

Default: 1Example: 1
pageSizeintegerOptional

Page size for pagination

Default: 10Example: 10
Responses
200Success
application/json
post
/api/health-report/
200Success