API Reference

Overexertion

50 views 0

Overexertion represents a respiratory condition.

Overview

Property Type Description
code String The Code of the resource
user_code String The global Id of the user
threshold Number Overexertion is considered in effect if the number of respirations per minute gets higher than this value
tolerance Number Optionally, the Overexertion condition may be considered in effect if the number of respirations per minute gets higher than the (threshold – tolerance) value
time_threshold Number The number of hours during which the conditions for a overexertion respiratory problem must hold
created_at Datetime with Timezone The time the activity was created on the ZivaCare API server
updated_at Datetime with Timezone The time the activity was updated on the ZivaCare API server

Example

GET https://api.zivacare.com/api/v2/threshold/overexertions?access_token=demo

{
  "code": "4a656954-35f3-4f74-b40a-ef1d2666c639",
  "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
  "threshold": 12,
  "tolerance": 12.33,
  "time_threshold": 12.33,
  "created_at": "2015-07-03T11:53:34+0000",
  "updated_at": "2016-06-02 13:30:54+00"
}
curl -X POST -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold/overexertions?access_token=demo -d '{                            
  "threshold": 12,
  "tolerance": 12.33,
  "time_threshold": 12.33
}'

curl -X PUT -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold/overexertions?access_token=demo -d '{                            
  "threshold": 12,
  "tolerance": 12.33,
  "time_threshold": 12.33
}'

Was this helpful?

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close