-
Notifications
You must be signed in to change notification settings - Fork 0
/
BloostaticsAPI_v1.txt
62 lines (55 loc) · 1.58 KB
/
BloostaticsAPI_v1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
POST 192.168.XXX.XXX:8080/doctor/addNewDoctor
{
"email" : "[email protected]",
"password" : "password10",
"surname" : "Kovalenko",
"name": "Alexander",
"birthday" : "2016-31-04",
"speciality" : "Threapevt"
}
POST 192.168.XXX.XXX:8080/patient/addNewPatient
{
"email" : "q",
"password" : "aaaaaa",
"doctorId" : "9fcbdce0-f991-11e5-919c-f7db3580a3b7",
"surname" : "Qsde",
"name" : "Dsda",
"deviceId" : "1ac43350-f994-11e5-b0c8-f7db3580a3b7",
!! "birthday" : "2016-31-04"
}
POST 192.168.XXX.XXX:8080/patient/addGeneralAnalysisData
{
"patientEmail": "gen",
"eventTime": 1461439881916,
"analysis": {
"ageCategory": 0,
"leukocytes": 6.20045016329719E9,
"erythrocytes": 5.29053830172867E12,
"hemoglobin": 129.9959545537926,
"hematocrit": 35.0756644650455,
"erythrocytesMedian": 72.55706353571414,
"hemoglobinInErythrocyte": 37.40765961209605,
"hemoglobinAverageInErythrocyte": 307.474616305592,
"platelets": 3.086851280224256E11
}
}
POST 192.168.XXX.XXX:8080/patient/addGeneralAnalysisData
{
"email" : "[email protected]"
}
[
{
"name" : "Name",
"surname" : "Surname",
"eventTime": 1463810407403,
"analysis": [
{"erythrocytes": 4279352012115.7227},
{"erythrocytesMedian": 80.07321262343845},
{"hematocrit": 48.75135968224013},
{"hemoglobin": 120.41453757700343},
{"hemoglobinAverageInErythrocyte": 337.890230289122},
{"hemoglobinInErythrocyte": 30.37189449096424},
{"leukocytes": 9811964401.304646},
{"platelets": 186700932722.28476}
]
}, .........