List health profile answers
Changed onGet a list of health profile answers
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Query parameters
Patient id to fetch healt profile answers. Note that one of the following filters must be specified: filter[patient], filter[group], or filter[organization].
Comma-separated list of group ids. Note that one of the following filters must be specified: filter[patient], filter[group], or filter[organization].
Fitbit Plus organization id. Note that one of the following filters must be specified: filter[patient], filter[group], or filter[organization].
Page number
Page size
Page limit
Page cursor
List of related resources to include in the response
Response
OK
Example response
{
"data": [
{
"type": "health_profile_answer",
"id": "59d441ac21741161bbe266b5",
"attributes": {
"created_at": "2017-07-07T19:15:56.229Z",
"history": [
{
"answered_at": "2017-10-03T12:45:16.720Z",
"value": "2",
"_created_by": "59d4d7dcd843ee01be71fcf8",
"_id": "59d4d7dcd843ee01be71fcfb"
}
],
"latest": {
"answered_at": "2017-10-04T12:45:16.720Z",
"value": "1",
"_created_by": "59d4d7dcd843ee01be71fcf8"
},
"question_id": "4",
"updated_at": "2017-07-07T19:15:56.229Z"
},
"relationships": {
"patient": {
"data": {
"id": "595fddea28c5041b84466bbe",
"type": "patient"
},
"links": {
"related": "/pub/health_profile_answer/59d441ac21741161bbe266b5/patient"
}
}
},
"links": {
"self": "/pub/health_profile_answer/59d441ac21741161bbe266b5"
}
}
]
}Changes
- info
added the new optional
queryrequest parameterpage[cursor] - info
added the new optional
queryrequest parameterpage[limit]
- info
- info
added the new optional
queryrequest parameterinclude
- info