API Reference

Threshold

26 views 0

Threshold

Provides an endpoint for the entire threshold.

Overview

Property Type Description
assisted_breathing JSON Assisted Breathing
bradypnea JSON Bradypnea
cardiac_arrest JSON Cardiac Arrest
flat_foot JSON Flat Foot
heel_overload JSON Heel Overload
high_arc JSON High Arc
hypoxemia JSON Hypoxemia
metatarsalgia JSON Metatarsalgia
overexertion JSON Overexertion

Example

GET https://api.zivacare.com/api/v2/threshold?access_token=demo
{
  "assisted_breathing": {
    "code": "ebcbee0a-dd9f-4678-8dc7-8e3eee76b4d2",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 6,
    "tolerance": 12.33,
    "created_at": "2015-07-03 11:51:45+00",
    "updated_at": "2016-06-02 12:27:17+00"
  },
  "bradypnea": {
    "code": "2fab66c0-3b71-42d6-9eaf-6be464d38ca",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 13,
    "tolerance": 12.33,
    "time_threshold": 2,
    "created_at": "2015-07-03 11:52:09+00"
  },
  "cardiac_arrest": {
    "code": "7f23abb6-fa2c-46c1-9078-f1020cddff8d",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 12,
    "tolerance": 13.32,
    "created_at": "2015-07-03 11:52:36+00",
    "updated_at": "2016-05-20 13:03:15.391281+00"
  },
  "flat_foot": {
    "code": "824c9ba2-492e-4882-aaaf-1b013b970412",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 12,
    "low_threshold": 11,
    "low_tolerance": 43,
    "medium_tolerance": 11,
    "medium_threshold": 12,
    "high_tolerance": 14,
    "high_threshold": 14,  
    "created_at": "2015-07-03 11:52:45+00"
  },
  "heel_overload": {
    "code": "0b45e4a9-9f98-42b3-8726-a910e73ee938",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 12,
    "low_threshold": 11,
    "low_tolerance": 43,
    "medium_tolerance": 11,
    "medium_threshold": 12,
    "high_tolerance": 14,
    "high_threshold": 14,  
    "created_at": "2015-07-03 11:52:58+00",
    "updated_at": "2016-06-02 13:11:21+00"
  },
  "high_arc": {
    "code": "422edfbb-c9f2-4ed7-a8fa-cb78e57aa41d",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 11,
    "low_threshold": 12,
    "low_tolerance": 12.33,
    "medium_tolerance": 12.33,
    "medium_threshold": 12.33,
    "high_tolerance": 12.33,
    "high_threshold": 12.33,  
    "created_at": "2015-07-03 11:53:07+00",
    "updated_at": "2016-06-02 13:15:53+00"
  },
  "hypoxemia": {
    "code": "1861e5fb-320a-4827-825d-4d6e36e27958",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 11,
    "low_threshold": 12,
    "low_tolerance": 12,
    "high_tolerance": 12.33,
    "high_threshold": 12.33,  
    "created_at": "2015-07-03 11:53:16+00"
  },
  "metatarsalagia": {
    "code": "a220dc2c-5e11-4763-854e-eddfad2d5b1c",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 12,
    "low_threshold": 1,
    "medium_threshold": 5,
    "high_threshold": 3,  
    "low_tolerance": 1,
    "medium_tolerance": 2,
    "high_tolerance": 5,
    "ongoing_time_threshold": 12,  
    "ongoing_threshold": 12,  
    "ongoing_tolerance": 12,  
    "created_at": "2015-07-03 11:53:26+00"
  },
  "overexertion": {
    "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-03 11:53:34+00",
    "updated_at": "2016-06-02 13:30:54+00"
  }  
}

 

curl -X POST -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold?access_token=demo -d '{                            
  "assisted_breathing": {
    "threshold": 3,
    "tolerance": 3
  },
  "bradypnea": {
    "threshold": 13,
    "tolerance": 12.33,
    "time_threshold": 4
  },
  "cardiac_arrest": {
    "threshold": 2,
    "tolerance": 4
  },
  "flat_foot": {
    "time_threshold": 5,
    "low_threshold": 4,
    "low_tolerance": 4,
    "medium_tolerance": 5,
    "medium_threshold": 4,
    "high_tolerance": 3,
    "high_threshold": 2  
  },
  "heel_overload": {
    "time_threshold": 12,
    "low_threshold": 11,
    "low_tolerance": 43,
    "medium_tolerance": 11,
    "medium_threshold": 12,
    "high_tolerance": 14,
    "high_threshold": 14  
  },
  "high_arc": {
    "time_threshold": 11,
    "low_threshold": 12,
    "low_tolerance": 12.33,
    "medium_tolerance": 12.33,
    "medium_threshold": 12.33,
    "high_tolerance": 12.33,
    "high_threshold": 12  
  },
  "hypoxemia": {
    "low_threshold": 12,
    "low_tolerance": 12,
    "high_threshold": 12.33,
    "high_tolerance": 12.33
  },
  "metatarsalagia": {
    "time_threshold": 12,
    "low_threshold": 1,
    "medium_threshold": 5,
    "high_threshold": 3,  
    "low_tolerance": 1,
    "medium_tolerance": 2,
    "high_tolerance": 5,
    "ongoing_time_threshold": 12.33,  
    "ongoing_threshold": 12,  
    "ongoing_tolerance": 12
  },
  "overexertion": {
    "threshold": 12,
    "tolerance": 12.33,
    "time_threshold": 12.33
  }                                                
}'

curl -X PUT -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold?access_token=demo -d '{                            
  "assisted_breathing": {
    "code": "0dddff83-355e-48ea-ad59-b92bd4b620b7",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 6,
    "tolerance": 12.33,
    "created_at": "2015-06-24T08:26:20+0300",
    "updated_at": "2015-06-24T08:29:26+0300"
  },
  "bradypnea": {
    "code": "92a662cd-3119-49e8-a88d-4f800ca93508",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 13,
    "tolerance": 12.33,
    "time_threshold": 4,
    "created_at": "2015-06-23T12:47:47+0300",
    "updated_at": "2015-06-23T12:48:04+0300"
  },
  "cardiac_arrest": {
    "code": "e833e199-39f0-4cdc-bb8a-c242237c5653",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 2,
    "tolerance": 4,
    "created_at": "2015-06-23T12:49:23+0300",
    "updated_at": "2015-06-23T12:49:37+0300"
  },
  "flat_foot":  "null",
  "heel_overload": {
    "code": "3a1143f5-874c-44bf-865c-e83fa2673ed2",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 12,
    "low_threshold": 11,
    "low_tolerance": 43,
    "medium_tolerance": 11,
    "medium_threshold": 12,
    "high_tolerance": 14,
    "high_threshold": 14,  
    "created_at": "2015-06-23T12:52:55+0300",
    "updated_at": "2015-06-23T12:53:04+0300"
  },
  "high_arc": {
    "code": "6f01ba0c-b519-4eaf-a24a-7e101a6e8d89",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 11,
    "low_threshold": 12,
    "low_tolerance": 12.33,
    "medium_tolerance": 12.33,
    "medium_threshold": 12.33,
    "high_threshold": 12.33,  
    "high_tolerance": 12,
    "created_at": "2015-06-23T12:53:27+0300",
    "updated_at": "2015-06-23T12:53:38+0300"
  },
  "hypoxemia": {
    "code": "232c84db-a283-4c07-aaa2-24571ccf6b5d",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "low_threshold": 12,
    "low_tolerance": 12,
    "high_threshold": 12.33,  
    "high_tolerance": 12.33,
    "created_at": "2015-07-03T11:53:16+00"
  },
  "metatarsalagia": {
    "code": "5d2b98a9-eddc-4771-8463-e5cbbca3f038",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "time_threshold": 12,
    "low_threshold": 1,
    "medium_threshold": 5,
    "high_threshold": 3,  
    "low_tolerance": 1,
    "medium_tolerance": 2,
    "high_tolerance": 5,
    "ongoing_threshold": 12,  
    "ongoing_tolerance": 12,  
    "created_at": "2015-06-23T12:54:18+0300",
    "updated_at": "2015-06-23T12:54:31+0300"
  },
  "overexertion": {
    "code": "d8d3369a-6322-4b9c-9209-ca03c27c4f6c",
    "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
    "threshold": 12,
    "tolerance": 12.33,
    "time_threshold": 12.33,  
    "created_at": "2015-06-23T12:59:23+0300",
    "updated_at": "2015-06-23T12:12:12+0300"
  }  
}'
curl -X POST -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/threshold/init?access_token=demo -d '{                            
  "assisted_breathing": {
    "threshold": 3,
    "tolerance": 3
  },
  "bradypnea": {
    "threshold": 13,
    "tolerance": 12.33,
    "time_threshold": 4
  },
  "cardiac_arrest": {
    "threshold": 4,
    "tolerance": 2
  },
  "flat_foot": {
    "time_threshold": 5,
    "low_threshold": 4,
    "low_tolerance": 4,
    "medium_tolerance": 5,
    "medium_threshold": 4,
    "high_tolerance": 3,
    "high_threshold": 2  
  },
  "heel_overload": {
    "time_threshold": 12,
    "low_threshold": 11,
    "low_tolerance": 43,
    "medium_tolerance": 11,
    "medium_threshold": 12,
    "high_tolerance": 14,
    "high_threshold": 14  
  },
  "high_arc": {
    "time_threshold": 11,
    "low_threshold": 12,
    "low_tolerance": 12.33,
    "medium_tolerance": 12.33,
    "medium_threshold": 12.33,
    "high_tolerance": 12.33,
    "high_threshold": 12  
  },
  "hypoxemia": {
    "low_threshold": 12,
    "low_tolerance": 12,
    "high_threshold": 12.33,
    "high_tolerance": 12.33
  },
  "metatarsalagia": {
    "time_threshold": 12,
    "low_threshold": 1,
    "medium_threshold": 5,
    "high_threshold": 3,  
    "low_tolerance": 1,
    "medium_tolerance": 2,
    "high_tolerance": 5,
    "ongoing_time_threshold": 12.33,  
    "ongoing_threshold": 12,  
    "ongoing_tolerance": 12
  },
  "overexertion": {
    "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