curl --request POST \
--url https://api2.rhombussystems.com/api/doorbellcamera/updateDetails \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"associatedCameras": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
],
"description": "<string>",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"directionRadians": 123,
"floorNumber": 123,
"latitude": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": false
}
'import requests
url = "https://api2.rhombussystems.com/api/doorbellcamera/updateDetails"
payload = {
"associatedCameras": ["AAAAAAAAAAAAAAAAAAAAAA.v0"],
"description": "<string>",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"directionRadians": 123,
"floorNumber": 123,
"latitude": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": False
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
associatedCameras: ['AAAAAAAAAAAAAAAAAAAAAA.v0'],
description: '<string>',
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
directionRadians: 123,
floorNumber: 123,
latitude: 123,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
longitude: 123,
name: '<string>',
policyUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKeyUpdated: false
})
};
fetch('https://api2.rhombussystems.com/api/doorbellcamera/updateDetails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/doorbellcamera/updateDetails")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"associatedCameras\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ],\n \"description\": \"<string>\",\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"directionRadians\": 123,\n \"floorNumber\": 123,\n \"latitude\": 123,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"longitude\": 123,\n \"name\": \"<string>\",\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKeyUpdated\": false\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Update hardware details of doorbell camera
Update hardware details of doorbell camera.
curl --request POST \
--url https://api2.rhombussystems.com/api/doorbellcamera/updateDetails \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"associatedCameras": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
],
"description": "<string>",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"directionRadians": 123,
"floorNumber": 123,
"latitude": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": false
}
'import requests
url = "https://api2.rhombussystems.com/api/doorbellcamera/updateDetails"
payload = {
"associatedCameras": ["AAAAAAAAAAAAAAAAAAAAAA.v0"],
"description": "<string>",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"directionRadians": 123,
"floorNumber": 123,
"latitude": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": 123,
"name": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": False
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
associatedCameras: ['AAAAAAAAAAAAAAAAAAAAAA.v0'],
description: '<string>',
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
directionRadians: 123,
floorNumber: 123,
latitude: 123,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
longitude: 123,
name: '<string>',
policyUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKeyUpdated: false
})
};
fetch('https://api2.rhombussystems.com/api/doorbellcamera/updateDetails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/doorbellcamera/updateDetails")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"associatedCameras\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ],\n \"description\": \"<string>\",\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"directionRadians\": 123,\n \"floorNumber\": 123,\n \"latitude\": 123,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"longitude\": 123,\n \"name\": \"<string>\",\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKeyUpdated\": false\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request object for updating hardware details of a doorbell camera.
Optional list of associated camera device facet UUIDs
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Optional description for the doorbell camera
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Optional direction in radians for the doorbell camera
Optional floor number where the doorbell camera is located
Optional latitude coordinate of the doorbell camera
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Optional longitude coordinate of the doorbell camera
Optional name for the doorbell camera
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
A sequence of one or more base 64 (url-safe) uuid substrings. These substrings are separated by dots (.).
^([A-Za-z0-9\-_]{22})([.][A-Za-z0-9\-_]{22})*$"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA"
Whether the sub-locations hierarchy key has been updated
false