Restful API that provides, Add, Edit , Delete POI information about VR360+.
API URL : https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Add

var xhr = new XMLHttpRequest();
xhr.open("POST", 'https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Add');
xhr.setRequestHeader('Content-Type', 'application/json; charset=utf-8');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
// Request successful
console.log(xhr.responseText);
} else {
// Request failed
console.error(xhr.status + ': ' + xhr.statusText);
console.log(xhr.responseText); // Log the response for more details
}
}
};
var data = {
"VR360GUID": "d87e18db-3def-45ac-adb1-b9d4a6d045bc",
"XCoordinate": 1.36,
"YCoordinate": 2.39,
"ZCoordinate": -8.48,
"Title": "POI 1234",
"Location": "Private Courtyard",
"Dependencies": ""
};
xhr.send(JSON.stringify({ "model": data }));
API URL : https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Edit

var xhr = new XMLHttpRequest();
xhr.open("POST", 'https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Edit');
xhr.setRequestHeader('Content-Type', 'application/json; charset=utf-8');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
// Request successful
console.log(xhr.responseText);
} else {
// Request failed
console.error(xhr.status + ': ' + xhr.statusText);
console.log(xhr.responseText); // Log the response for more details
}
}
};
var data = {
"POI_ID": "42987adc-9466-48d2-b467-13e199f2028e",
"XCoordinate": 1.36,
"YCoordinate": 2.39,
"ZCoordinate": -8.48,
"Title": "POI 2 - Test 1234",
"Location": "Private Courtyard",
"Dependencies": ""
};
xhr.send(JSON.stringify({ "model": data })); API URL : https://cms.zondavirtual.com/api/apiola/VR360POI_List?VR360GUID={VR360GUID}

xhr = new XMLHttpRequest();
xhr.open('GET', 'https://cms.zondavirtual.com/api/apiola/VR360POI_List?VR360GUID=d87e18db-3def-45ac-adb1-b9d4a6d045bc', true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
// Request successful
console.log(xhr.responseText);
} else {
// Request failed
console.error(xhr.status + ': ' + xhr.statusText);
console.log(xhr.responseText); // Log the response for more details
}
}
};
xhr.send();
API URL : https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Delete

var xhr = new XMLHttpRequest();
xhr.open("POST", 'https://secure.alpha-vision.com/VpsPlatformServices/VpsRest.svc/VR360POI_Delete', true);
xhr.setRequestHeader('Content-Type', "application/json; charset=utf-8");
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
// Request successful
console.log(xhr.responseText);
} else {
// Request failed
console.error(xhr.status + ': ' + xhr.statusText);
console.log(xhr.responseText); // Log the response for more details
}
}
};
xhr.send(JSON.stringify({ "POI_ID": '42987adc-9466-48d2-b467-13e199f2028e' })); API URL : https://cms.zondavirtual.com/api/apiola/IsVR360Active?guid={VR360GUID}
