stress

Post a new stress activity

post/patients/{patient_id}/stress

Path parameters

patient_idinteger required

Request body

notestring nullable

note that can be added to provide additional description Max 1024 char

sourcestring nullable

source of stress data

source_idstring nullable

id of stress from source

stress_activity_typestring nullable

selected activity type of stress

stress_datestring required

calendar date in format YYYY-MM-DD

stress_end_timestring required

time in format hh:mm:ss

stress_start_timestring required

time in format hh:mm:ss

Example request

{
  "stress_activity_type": "breathing",
  "stress_date": "2019-01-02",
  "stress_end_time": "17:30:00",
  "stress_start_time": "17:30:00"
}

Response

successful operation

idinteger required
notestring nullable

note that can be added to provide additional description Max 1024 char

sourcestring nullable

source of stress data

source_idstring nullable

id of stress from source

stress_activity_typestring nullable

selected activity type of stress

stress_datestring required

calendar date in format YYYY-MM-DD

stress_end_timestring required

time in format hh:mm:ss

stress_start_timestring required

time in format hh:mm:ss

Example response

{
  "stress_activity_type": "breathing",
  "stress_date": "2019-01-02",
  "stress_end_time": "17:30:00",
  "stress_start_time": "17:30:00"
}

Changes

No recorded changes to this endpoint across all 15 revisions of this API.