curl --request POST \
--url https://api2.rhombussystems.com/api/doorcontroller/updateDetails \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"description": "Controls access to the main entrance",
"directionRadians": 1.5708,
"floorNumber": 1,
"latitude": 34.0522,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": -118.2437,
"name": "Main Entrance Controller",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": false
}
'import requests
url = "https://api2.rhombussystems.com/api/doorcontroller/updateDetails"
payload = {
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"description": "Controls access to the main entrance",
"directionRadians": 1.5708,
"floorNumber": 1,
"latitude": 34.0522,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": -118.2437,
"name": "Main Entrance Controller",
"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({
uuid: 'AAAAAAAAAAAAAAAAAAAAAA',
description: 'Controls access to the main entrance',
directionRadians: 1.5708,
floorNumber: 1,
latitude: 34.0522,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
longitude: -118.2437,
name: 'Main Entrance Controller',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKeyUpdated: false
})
};
fetch('https://api2.rhombussystems.com/api/doorcontroller/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/doorcontroller/updateDetails")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"description\": \"Controls access to the main entrance\",\n \"directionRadians\": 1.5708,\n \"floorNumber\": 1,\n \"latitude\": 34.0522,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"longitude\": -118.2437,\n \"name\": \"Main Entrance Controller\",\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKeyUpdated\": false\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Update details for door controller
Update details for door controller. Note: uuid is a required field
curl --request POST \
--url https://api2.rhombussystems.com/api/doorcontroller/updateDetails \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"description": "Controls access to the main entrance",
"directionRadians": 1.5708,
"floorNumber": 1,
"latitude": 34.0522,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": -118.2437,
"name": "Main Entrance Controller",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKeyUpdated": false
}
'import requests
url = "https://api2.rhombussystems.com/api/doorcontroller/updateDetails"
payload = {
"uuid": "AAAAAAAAAAAAAAAAAAAAAA",
"description": "Controls access to the main entrance",
"directionRadians": 1.5708,
"floorNumber": 1,
"latitude": 34.0522,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"longitude": -118.2437,
"name": "Main Entrance Controller",
"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({
uuid: 'AAAAAAAAAAAAAAAAAAAAAA',
description: 'Controls access to the main entrance',
directionRadians: 1.5708,
floorNumber: 1,
latitude: 34.0522,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
longitude: -118.2437,
name: 'Main Entrance Controller',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKeyUpdated: false
})
};
fetch('https://api2.rhombussystems.com/api/doorcontroller/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/doorcontroller/updateDetails")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"description\": \"Controls access to the main entrance\",\n \"directionRadians\": 1.5708,\n \"floorNumber\": 1,\n \"latitude\": 34.0522,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"longitude\": -118.2437,\n \"name\": \"Main Entrance Controller\",\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 details for a door controller.
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Description of the door controller
"Controls access to the main entrance"
Direction in radians for the door controller
1.5708
Floor number where the door controller is located
1
Latitude coordinate of the door controller
34.0522
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Longitude coordinate of the door controller
-118.2437
Name of the door controller
"Main Entrance Controller"
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