POST api/v1/healthprofessional/patient/{patientId}/times/store
Set the patient times
Request Information
Headers
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
patientId | string |
Required |
Body Parameters
PatientTimesName | Description | Type | Additional information |
---|---|---|---|
sleep_time |
The sleep times |
SleepTime |
None. |
meal_time |
The meal times |
MealTime |
None. |
Request Formats
application/json
Sample:
{ "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" } }
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
Sample:
{ "Result": "sample string 1", "Message": "sample string 2" }