POST api/v1/healthprofessional/patient/{patientId}/times/store

Set the patient times

Request Information

Headers

URI Parameters

NameDescriptionTypeAdditional information
patientId

string

Required

Body Parameters

PatientTimes
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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"
}