Policy Webservice
Create occupancy policy
Create a policy to be assigned to a occupancy sensor
post/api/policy/createOccupancyPolicy
Request
- Base URL: https://api2.rhombussystems.com
- URL: https://api2.rhombussystems.com/api/policy/createOccupancyPolicy
- Auth: API key in header x-auth-apikey
Headers
x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required
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.
Request body
Example request
{
"policy": {
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"scheduledTriggers": [
{
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}Response
OK
Example response
{
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}Changes
No recorded changes to this operation across all 1 revision of this API.