curl --request POST \
--url https://api2.rhombussystems.com/api/export/countReports \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"endTimeMs": 1721416242907,
"startTimeMs": 1719861042000,
"endDate": "2024-07-17T00:00:00Z",
"startDate": "2024-07-17T00:00:00Z",
"timeZone": "America/Los_Angeles",
"uuidList": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/export/countReports"
payload = {
"endTimeMs": 1721416242907,
"startTimeMs": 1719861042000,
"endDate": "2024-07-17T00:00:00Z",
"startDate": "2024-07-17T00:00:00Z",
"timeZone": "America/Los_Angeles",
"uuidList": ["AAAAAAAAAAAAAAAAAAAAAA.v0"]
}
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({
endTimeMs: 1721416242907,
startTimeMs: 1719861042000,
endDate: '2024-07-17T00:00:00Z',
startDate: '2024-07-17T00:00:00Z',
timeZone: 'America/Los_Angeles',
uuidList: ['AAAAAAAAAAAAAAAAAAAAAA.v0']
})
};
fetch('https://api2.rhombussystems.com/api/export/countReports', 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/export/countReports")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endTimeMs\": 1721416242907,\n \"startTimeMs\": 1719861042000,\n \"endDate\": \"2024-07-17T00:00:00Z\",\n \"startDate\": \"2024-07-17T00:00:00Z\",\n \"timeZone\": \"America/Los_Angeles\",\n \"uuidList\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ]\n}")
.asString();{}Download count report
Download count report
curl --request POST \
--url https://api2.rhombussystems.com/api/export/countReports \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"endTimeMs": 1721416242907,
"startTimeMs": 1719861042000,
"endDate": "2024-07-17T00:00:00Z",
"startDate": "2024-07-17T00:00:00Z",
"timeZone": "America/Los_Angeles",
"uuidList": [
"AAAAAAAAAAAAAAAAAAAAAA.v0"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/export/countReports"
payload = {
"endTimeMs": 1721416242907,
"startTimeMs": 1719861042000,
"endDate": "2024-07-17T00:00:00Z",
"startDate": "2024-07-17T00:00:00Z",
"timeZone": "America/Los_Angeles",
"uuidList": ["AAAAAAAAAAAAAAAAAAAAAA.v0"]
}
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({
endTimeMs: 1721416242907,
startTimeMs: 1719861042000,
endDate: '2024-07-17T00:00:00Z',
startDate: '2024-07-17T00:00:00Z',
timeZone: 'America/Los_Angeles',
uuidList: ['AAAAAAAAAAAAAAAAAAAAAA.v0']
})
};
fetch('https://api2.rhombussystems.com/api/export/countReports', 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/export/countReports")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endTimeMs\": 1721416242907,\n \"startTimeMs\": 1719861042000,\n \"endDate\": \"2024-07-17T00:00:00Z\",\n \"startDate\": \"2024-07-17T00:00:00Z\",\n \"timeZone\": \"America/Los_Angeles\",\n \"uuidList\": [\n \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n ]\n}")
.asString();{}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 exporting count reports with configurable intervals, scopes, and time ranges.
End datetime as a UNIX timestamp in milliseconds
x >= 01721416242907
Report interval for filtering face events
MINUTELY, QUARTERHOURLY, HOURLY, DAILY, WEEKLY, MONTHLY Scope of the report to reset
REGION, DEVICE, LOCATION, ORG Start datetime as a UNIX timestamp in milliseconds
x >= 01719861042000
Type of report to receive
CROWD, PEOPLE, FACES, MOTION, BANDWIDTH, VEHICLES, LICENSEPLATES, ALERTS, DWELL Enter the ending date in in ISO 8601 format
"2024-07-17T00:00:00Z"
Enter the starting date in ISO 8601 format
"2024-07-17T00:00:00Z"
String of timezone for bucketing
"America/Los_Angeles"
Enter the UUID of device(s) or location(s)
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Response
OK
The response is of type object | null.