health_data

Modifies a list of health data

put/patients/{patient_id}/health_data/bulk

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/patients/{patient_id}/health_data/bulk
  • Auth
    HTTP bearer

Path parameters

patient_idinteger required

Request body

Example request

[
  {
    "deleted": [
      {
        "source_id": "35C09300-FAB6-460E-95B5-8EF4EC5663A3"
      }
    ],
    "updates": [
      {
        "sleep_end_date_time": "2019-01-02 08:00:00",
        "sleep_start_date_time": "2019-01-02 08:00:00",
        "source": "healthkit",
        "source_id": "35C09300-FAB6-460E-95B5-8EF4EC5663A3"
      }
    ]
  }
]

Response

successful operation

Changes

No recorded changes to this operation across all 19 revisions of this API.