API reference
Retrieve calculation details for a single calculation
GET/v1/calculations/{calculationId}
This endpoint expects a calculationId
to be passed as a path parameter. If not provided, the query will return all calculations.
Parameter | Type | Required |
---|---|---|
calculationId | string | yes |
When successful, the API will return a HTTP status code of 200 and in the response a single calculation object. The schema of the response can be found here.
Below you can find an example response of the bmi calculation:
01
When a calculation for the given calculationId
cannot be found, the API will return a 400 HTTP status code and the following response:
01
When unsuccessful, the API will return a 500 HTTP status.