API reference
Retrieve the result of a previous computed calculation
Compatibility and API version
Please note that this endpoint can only be used if you also use the v2 endpoint to perform calculations as the v1 endpoint does not return an id
for the calculation result that you need to call this endpoint.
GET/v2/calculations/result/{id}
This endpoint expects an id
to be passed as a path parameter. This id represents the identifier of a calculation result which is returned when the calculation was first performed (see "perform calculation").
Parameter | Type | Required |
---|---|---|
id | string | yes |
When successful, the API will return a HTTP status code of 200 and in the response the calculation result(s).
Below you can find an example response of the bmi calculation:
01
When no results can be found for the given id, the API will return a 400 HTTP status code and the following response:
01
When unsuccessful, the API will return a 500 HTTP status.