action intellifi_get_location_rule_by_id { label: "Get location rule" provider: intellifi method: GET path: "/locationrules/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { conditions: { description: "Scope of this rule, e.g. moves at or away from a specific location or towards a specific location." type: "object" } enabled: { type: "boolean" description: "Whether this rule should be in effect (`true`) or on hold (`false`)." } id: { type: "string" description: "Unique identifier for resource." } label: { type: "string" description: "A name or a label for this resource. This is used in the user interface, may be empty." } parameters: { type: "object" description: "Parameters for this rule; depends on the rule type. Refer to the rule type specification for details." } time_created: { type: "string" format: "dateTime" description: "[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) formatted string for when this resource was created." } time_updated: { type: "string" format: "dateTime" description: "[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) formatted string for when this resource was updated." } type: { type: "string" description: "The type of location rule to be applied.\nAllow: items at `conditions.from_location` can only move to `conditions.to_location` and locations allowed in other `allow` rules (destination whitelist).\nDisallow: items at `conditions.from_location` cannot be moved to `conditions.to_location` and locations disallowed in other `disallow` rules (destination blacklist).\nDisappeared: items disappearing at `conditions.from_location` will be moved to `parameters.location` after `parameters.time_s` seconds.\nDebounce: items moves from `conditions.from_location` (and optionally to `conditions.to_location`) will be debounced with a period of `parameters.time_s` seconds, for a maximum of `parameters.max_periods` periods.\n" enum: ["allow", "disallow", "disappeared", "debounce"] } url: { type: "string" description: "Url to the individual resource." } } } }