Create proximity policy
curl --request POST \
--url https://api2.rhombussystems.com/api/policy/createProximityPolicy \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"policy": {
"description": "<string>",
"name": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"scheduledTriggers": [
{
"departureThresholdSec": 123,
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"triggerSet": [
{
"locationUuids": [
"AAAAAAAAAAAAAAAAAAAAAA"
]
}
]
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/policy/createProximityPolicy"
payload = { "policy": {
"description": "<string>",
"name": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"scheduledTriggers": [
{
"departureThresholdSec": 123,
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"triggerSet": [{ "locationUuids": ["AAAAAAAAAAAAAAAAAAAAAA"] }]
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
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({
policy: {
description: '<string>',
name: '<string>',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
scheduledTriggers: [
{
departureThresholdSec: 123,
scheduleUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
triggerSet: [{locationUuids: ['AAAAAAAAAAAAAAAAAAAAAA']}]
}
],
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/policy/createProximityPolicy', 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/policy/createProximityPolicy")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"policy\": {\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"scheduledTriggers\": [\n {\n \"departureThresholdSec\": 123,\n \"scheduleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"triggerSet\": [\n {\n \"locationUuids\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ]\n }\n ]\n }\n ],\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Policy Webservice
Create proximity policy
Create a policy to be assigned to an asset tag
POST
/
api
/
policy
/
createProximityPolicy
Create proximity policy
curl --request POST \
--url https://api2.rhombussystems.com/api/policy/createProximityPolicy \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"policy": {
"description": "<string>",
"name": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"scheduledTriggers": [
{
"departureThresholdSec": 123,
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"triggerSet": [
{
"locationUuids": [
"AAAAAAAAAAAAAAAAAAAAAA"
]
}
]
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/policy/createProximityPolicy"
payload = { "policy": {
"description": "<string>",
"name": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"scheduledTriggers": [
{
"departureThresholdSec": 123,
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"triggerSet": [{ "locationUuids": ["AAAAAAAAAAAAAAAAAAAAAA"] }]
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
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({
policy: {
description: '<string>',
name: '<string>',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
scheduledTriggers: [
{
departureThresholdSec: 123,
scheduleUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
triggerSet: [{locationUuids: ['AAAAAAAAAAAAAAAAAAAAAA']}]
}
],
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/policy/createProximityPolicy', 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/policy/createProximityPolicy")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"policy\": {\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"scheduledTriggers\": [\n {\n \"departureThresholdSec\": 123,\n \"scheduleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"triggerSet\": [\n {\n \"locationUuids\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ]\n }\n ]\n }\n ],\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"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.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Updated proximity policy configuration
Show child attributes
Show child attributes
Last modified on August 21, 2026
⌘I