Docs

Get Event Rule Set

GET /events/{eventId}/rule-sets/{ruleSetId}

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

FieldTypeRequiredDescription
eventIduuidRequired
ruleSetIduuidRequired

Response

FieldTypeDescription
iduuid
namestring| null
rulesGetEventRuleSetResponseRuleInfo[]| null

GetEventRuleSetResponseRuleInfo

FieldTypeDescription
iduuid
namestring| null
descriptionstring| null
priorityinteger
isActiveboolean
conditionTypestring| null
trackedBlockTypesGetEventRuleSetResponseTrackedBlockTypeRef[]| null
windowStarttime| null
windowEndtime| null
resultingStateIduuid| null
daysOfWeekstring[]| null
annualDatesstring[]| null
scopestring| null
exemptBlockTypeIdsuuid[]| null
thresholdsGetEventRuleSetResponseThresholdInfo[]| null
resetConditionsGetEventRuleSetResponseResetConditionInfo[]| null

GetEventRuleSetResponseTrackedBlockTypeRef

FieldTypeDescription
iduuid
namestring| null

GetEventRuleSetResponseThresholdInfo

FieldTypeDescription
iduuid
orderinteger
thresholdnumber
thresholdUnitstring| null
operatorstring| null
resultingStateGetEventRuleSetResponseResultingStateRef

GetEventRuleSetResponseResetConditionInfo

FieldTypeDescription
iduuid
resetTypestring| null
blockTypeGetEventRuleSetResponseBlockTypeRef
minDurationnumber| null
durationUnitstring| null
periodstring| null
periodStartDaystring| null
thresholdOverridesGetEventRuleSetResponseThresholdOverrideInfo[]| null

GetEventRuleSetResponseResultingStateRef

FieldTypeDescription
iduuid
namestring| null

GetEventRuleSetResponseBlockTypeRef

FieldTypeDescription
iduuid
namestring| null

GetEventRuleSetResponseThresholdOverrideInfo

FieldTypeDescription
ruleThresholdIduuid
thresholdnumber
thresholdUnitstring| null