POST api/v1/patient/update
Updates the specified patient identified by token header
Request Information
Headers
URI Parameters
None.
Body Parameters
The patient demographics
PatientDemographicsName | Description | Type | Additional information |
---|---|---|---|
UserAccountId |
Gets or sets the user account identifier. |
integer |
None. |
Patient |
Gets or sets the patient. |
Patient |
None. |
Person |
Gets or sets the person. |
Person |
None. |
ManualInput |
Enable patient to use manual input |
boolean |
None. |
ManualDevice |
Enable the patient to create own devices. |
boolean |
None. |
Diabetes |
Information about diabetes. 0 = no diabetes, 1 = type 1 and 2 = type 2 |
integer |
None. |
Smoker |
Value indicating whether this <see cref="T:LinkWatch.DataModel.PatientDemographics" /> is smoker. |
boolean |
None. |
Site |
The name of the site the patient belongs to. |
string |
None. |
Language |
Prefered language used on with GUI components |
string |
None. |
Times |
Times defined for the patient such as sleep (asleep, wake) and meal (breakfast, lunch, dinner). |
PatientTimes |
None. |
Reminders |
Used to handle on/off for reminders set for a patient. |
PatientReminders |
None. |
Request Formats
application/json
{ "UserAccountId": 1, "Patient": { "PatientId": "sample string 1", "DateOfBirth": "2025-02-03T11:04:04.2353658+00:00", "Gender": "sample string 2", "Height": 1, "Status": "sample string 3", "Age": 1 }, "Person": { "FirstName": "sample string 1", "LastName": "sample string 2", "Phone": "sample string 3", "MobilePhone": "sample string 4", "Email": "sample string 5", "Address": "sample string 6" }, "ManualInput": true, "ManualDevice": true, "Diabetes": 1, "Smoker": true, "Site": "sample string 1", "Language": "sample string 2", "Times": { "sleep_time": { "fall_asleep": "sample string 1", "awake": "sample string 2" }, "meal_time": { "breakfast": "sample string 1", "lunch": "sample string 2", "dinner": "sample string 3" } }, "Reminders": { "Questionnaire": true, "Medication": true, "Measurement": true } }
Response Information
Headers
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Result |
Result of the response |
string |
None. |
Message |
Additional information of the response |
string |
None. |
Response Formats
application/json
{ "Result": "sample string 1", "Message": "sample string 2" }