hi there
i´m trying to test the Rest API service, the problem is that idon’t know where put the estimote credentials(appid and tokenid)
https://cloud.estimote.com/v1/indoor/locations
this is my json script
{
“name”: “sala de estar”,
“public”: true,
“orientation”: 23.5,
“walls”: [
{
“x1”: 0,
“y1”: 0,
“x2”: 0,
“y2”: 5,
“orientation”: 90
},
{
“x1”: 0,
“y1”: 5,
“x2”: 7,
“y2”: 5,
“orientation”: 180
},
{
“x1”: 7,
“y1”: 5,
“x2”: 9,
“y2”: -2,
“orientation”: 254.054604099077
},
{
“x1”: 9,
“y1”: -2,
“x2”: 4,
“y2”: 0,
“orientation”: 21.8014094863518
},
{
“x1”: 4,
“y1”: 0,
“x2”: 0,
“y2”: 0,
“orientation”: 0
}
],
“beacons”: [
{
“beacon”: {
“mac”: “d3f078deceef”
},
“position”: {
“x”: 5,
“y”: 2,
“orientation”: 0
}
},
{
“beacon”: {
“mac”: “e70e6caf5304”
},
“position”: {
“x”: 7.54944225579476,
“y”: 3.07695210471835,
“orientation”: 254.054604099077
}
},
{
“beacon”: {
“mac”: “ece1be5a545f”
},
“position”: {
“x”: 3,
“y”: 5,
“orientation”: 180
}
},
{
“beacon”: {
“mac”: “f6664385c74c”
},
“position”: {
“x”: 0,
“y”: 2.5,
“orientation”: 90
}
}
],
“linear_objects”: [
{
“x1”: 1,
“y1”: 0,
“x2”: 3,
“y2”: 0,
“orientation”: 0,
“type”: 1
},
{
“x1”: 0,
“y1”: 1,
“x2”: 0,
“y2”: 2,
“orientation”: 90,
“type”: 0
}
],
“pins”: [
{
“x”: 1,
“y”: 0,
“orientation”: 0,
“name”: “mesa de vidrio”,
“type”: “mueble”
},
{
“x”: 1,
“y”: -1,
“orientation”: 100,
“name”: “silla”,
“type”: “mueble”
}
]
}
if there is something that I must put let me know
Best regard