Skip to main content
PUT
curl

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Identifier returned by the corresponding authorized collection; use only a record visible to the signed-in patient.

Body

application/json
weight_kg
number<double>
required

Weight in kilograms, greater than zero; at most two decimal places. The current API does not enforce the model minimum of 20 kg.

Required range: 0 < x < 1000
logged_on
string<date>

Logged on as an ISO 8601 calendar date.

note
string

Optional note attached to the resource.

Response

Successful replace a weight entry.

id
string<uuid>
required
read-only

Unique identifier of this resource. Returned by the server; not writable.

created_at
string<date-time>
required
read-only

Created at timestamp in ISO 8601 format. Returned by the server; not writable.

updated_at
string<date-time>
required
read-only

Updated at timestamp in ISO 8601 format. Returned by the server; not writable.

weight_kg
number<double>
required

Weight in kilograms, greater than zero; at most two decimal places. The current API does not enforce the model minimum of 20 kg.

Required range: 0 < x < 1000
logged_on
string<date>

Logged on as an ISO 8601 calendar date.

note
string

Optional note attached to the resource.