curl --request POST \
--url https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"endTimeUtcSecs": 1641081600,
"searchCells": [
{
"col": 5,
"row": 3
}
],
"startTimeUtcSecs": 1640995200
}
'import requests
url = "https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities"
payload = {
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"endTimeUtcSecs": 1641081600,
"searchCells": [
{
"col": 5,
"row": 3
}
],
"startTimeUtcSecs": 1640995200
}
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({
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
endTimeUtcSecs: 1641081600,
searchCells: [{col: 5, row: 3}],
startTimeUtcSecs: 1640995200
})
};
fetch('https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities', 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/event/searchMotionGridWithActivities")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"endTimeUtcSecs\": 1641081600,\n \"searchCells\": [\n {\n \"col\": 5,\n \"row\": 3\n }\n ],\n \"startTimeUtcSecs\": 1640995200\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"timeUtcSecsToActivityMap": {},
"warningMsg": "<string>"
}Search motion grid for motion events occuring in specified grid cells
Search motion grid for motion events occuring in specified grid cells. Note: motion grid is a 64x36 grid of cells with the upper left hand corner being (0, 0)
curl --request POST \
--url https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"endTimeUtcSecs": 1641081600,
"searchCells": [
{
"col": 5,
"row": 3
}
],
"startTimeUtcSecs": 1640995200
}
'import requests
url = "https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities"
payload = {
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"endTimeUtcSecs": 1641081600,
"searchCells": [
{
"col": 5,
"row": 3
}
],
"startTimeUtcSecs": 1640995200
}
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({
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
endTimeUtcSecs: 1641081600,
searchCells: [{col: 5, row: 3}],
startTimeUtcSecs: 1640995200
})
};
fetch('https://api2.rhombussystems.com/api/event/searchMotionGridWithActivities', 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/event/searchMotionGridWithActivities")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"endTimeUtcSecs\": 1641081600,\n \"searchCells\": [\n {\n \"col\": 5,\n \"row\": 3\n }\n ],\n \"startTimeUtcSecs\": 1640995200\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"timeUtcSecsToActivityMap": {},
"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 searching motion grid data with activity information.
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
End time as a UNIX timestamp in seconds
1641081600
List of motion grid cells to include in the search
Show child attributes
Show child attributes
Start time as a UNIX timestamp in seconds
1640995200