GET/events/{eventId}/rule-sets/{ruleSetId}
Returns one of this event's rule sets with its rules, thresholds and reset conditions, in the
ResourceTypes_GetRuleSet shape. ruleSetId comes from ResourceTypes_GetEventRuleSets. Requires Procurement.View
at the event or any of its areas or collaborators.
Path Parameters
| Field | Type | Required | Description |
|---|
| eventId | uuid | Required | |
| ruleSetId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| rules | GetEventRuleSetResponseRuleInfo[]| null | |
GetEventRuleSetResponseRuleInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| description | string| null | |
| priority | integer | |
| isActive | boolean | |
| conditionType | string| null | |
| trackedBlockTypes | GetEventRuleSetResponseTrackedBlockTypeRef[]| null | |
| windowStart | time| null | |
| windowEnd | time| null | |
| resultingStateId | uuid| null | |
| daysOfWeek | string[]| null | |
| annualDates | string[]| null | |
| scope | string| null | |
| exemptBlockTypeIds | uuid[]| null | |
| thresholds | GetEventRuleSetResponseThresholdInfo[]| null | |
| resetConditions | GetEventRuleSetResponseResetConditionInfo[]| null | |
GetEventRuleSetResponseTrackedBlockTypeRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetEventRuleSetResponseThresholdInfo
| Field | Type | Description |
|---|
| id | uuid | |
| order | integer | |
| threshold | number | |
| thresholdUnit | string| null | |
| operator | string| null | |
| resultingState | GetEventRuleSetResponseResultingStateRef | |
GetEventRuleSetResponseResetConditionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| resetType | string| null | |
| blockType | GetEventRuleSetResponseBlockTypeRef | |
| minDuration | number| null | |
| durationUnit | string| null | |
| period | string| null | |
| periodStartDay | string| null | |
| thresholdOverrides | GetEventRuleSetResponseThresholdOverrideInfo[]| null | |
GetEventRuleSetResponseResultingStateRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetEventRuleSetResponseBlockTypeRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetEventRuleSetResponseThresholdOverrideInfo
| Field | Type | Description |
|---|
| ruleThresholdId | uuid | |
| threshold | number | |
| thresholdUnit | string| null | |