- these are the calls used by the dexcom uploader app
- these are in no particular order!
User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
POST
/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}
Body:
{
"SN":"YourSerialNumber",
"Egvs":[
{
"Trend":4,
"ST":"\/Date(1426783106000)\/",
"DT":"\/Date(1426754317000)\/",
"Value":97
}
],
"TA":-14365
}
Response:
just a status, `200`
Not sure what ta is...
POST
/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1
Body:
none
Response: Body:
[
{
"DT":"\/Date(1426780716000-0700)\/",
"ST":"\/Date(1426784306000)\/",
"Trend":4,
"Value":99,
"WT":"\/Date(1426769941000)\/"
}
]
POST
/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}
HTTP/1.1 Host: share1.dexcom.com Proxy-Connection: keep-alive Accept-Encoding: gzip, deflate Content-Type: application/json Content-Length: 107 Accept-Language: en-us Accept: application/json Connection: keep-alive User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
body: none
response:
just a status, 200
POST
/ShareWebServices/Services/Publisher/IsRemoteMonitoringSessionActive?sessionId={YourSessionId}
HTTP/1.1 Host: share1.dexcom.com Proxy-Connection: keep-alive Accept-Encoding: gzip, deflate Content-Type: application/json Content-Length: 107 Accept-Language: en-us Accept: application/json Connection: keep-alive User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
body: none
response:
true
or false
(plaintext)
POST
/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}
HTTP/1.1 Host: share1.dexcom.com Proxy-Connection: keep-alive Accept-Encoding: gzip, deflate Content-Type: application/json Content-Length: 107 Accept-Language: en-us Accept: application/json Connection: keep-alive User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
Body: none
Response:
just a status, 200
GET
/ShareWebServices/Services/General/SystemUtcTime
HTTP/1.1 Host: share1.dexcom.com Proxy-Connection: keep-alive Accept-Encoding: gzip, deflate Content-Type: application/json Content-Length: 107 Accept-Language: en-us Accept: application/json Connection: keep-alive User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
Body: none
Response:
{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}
POST
/ShareWebServices/Services/Publisher/UpdatePublisherAccountRuntimeInfo
HTTP/1.1 Host: share1.dexcom.com Proxy-Connection: keep-alive Accept-Encoding: gzip, deflate Content-Type: application/json Content-Length: 107 Accept-Language: en-us Accept: application/json Connection: keep-alive User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
Body:
{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}
Response:
just a status, 200
POST
/ShareWebServices/Services/General/AuthenticatePublisherAccount
Body:
{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}
Response: in plaintext
"e3e3e6a5-coolsessionid-bro”