action beezup_get_rule { label: "Gets the rule" provider: beezup method: GET path: "/v2/user/analytics/{storeId}/rules/{ruleId}" encoding: json input: { type: "object" properties: { ruleId: { type: "string" format: "guid" } storeId: { type: "string" format: "guid" } } required: ["ruleId", "storeId"] additionalProperties: false } output: { type: "object" required: ["actionName", "enabled", "links", "position", "reportFilterId", "ruleId", "ruleName"] properties: { actionName: { type: "string" description: "The optimisation action" enum: ["reenable", "disable"] } enabled: { type: "boolean" description: "Is the rule enabled" } lastExecutionStatus: { type: "string" description: "The status of the last execution" enum: ["InProgress", "Succeeded", "Failed", "Unknown"] } lastExecutionUtcDate: { type: "string" format: "date-time" description: "The utc date of the last execution" } links: { type: "object" description: "Links to retrieve/action on other entities" required: ["self"] properties: { delete: { type: "object" } disable: { type: "object" } enable: { type: "object" } movedown: { type: "object" } moveup: { type: "object" } reportFilter: { type: "object" } run: { type: "object" } self: { type: "object" } update: { type: "object" } } } position: { type: "integer" description: "Rule execution position" } reportFilterId: { type: "string" format: "guid" description: "Report filter identifier linked to the rule" } ruleId: { type: "string" format: "guid" description: "The identifier of the rule" } ruleName: { type: "string" description: "The name of the rule" } validityEndUtcDate: { type: "string" format: "date-time" description: "Rule validity end utc date" } validityStartUtcDate: { type: "string" format: "date-time" description: "Rule validity start utc date" } } } }