health profile answer

Get a health profile answer

Changed on

Get a health profile answer by id

get/health_profile_answer/{id}

Request

  • Base URL
    https://api.twinehealth.com/pub
  • Auth
    none declared

Path parameters

idstring required

Health profile answer identifier

Query parameters

include'patient'

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