POST api/v1/patient/times/store
Set the patient times
Request Information
Headers
URI Parameters
None.
Body Parameters
PatientTimes| Name | 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
Response| Name | 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"
}