Device
Register a device
Register a device, either new or an existing one. If a deviceID changes, send along the old deviceID in oldDeviceID property
post/device
Request body
Example request
{
"oldDeviceID": "00a9b9bf-c099-45aa-9278-64d6a3f22476",
"appVersion": "1.0",
"deviceID": "00a9b9bf-c099-45aa-9278-64d6a3f22476",
"deviceString": "Chrome 80 | Mac OS X 10.14.6",
"browserName": "Chrome",
"browserVersion": "80",
"language": "nl",
"location": {
"coordinates": [
4.23456,
52.184884
]
},
"locationAccuracy": 15.731,
"altitude": 100,
"course": 90,
"speed": 10,
"osString": "Mac OS X 10.9.2",
"osVersion": "10.9.2",
"platform": "Web",
"sdkVersion": "2.1.1",
"timeZoneOffset": -5
}Response
OK