Docs
Get Event Type Effect Condition Sources
GET /eventTypes/{typeId}/effect-condition-sources
GET
/eventTypes/{typeId}/effect-condition-sourcesLists everything an effect condition on this type can test: the event name and location name, each attribute and role placed on the type, and each question on its intake form. Each source lists the operators it supports and, when its values are a fixed set, the ids to compare against. If the intake form cannot be read, its questions are left out rather than failing. Requires organization admin.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required |
Response
Type: GetEffectConditionSourceResponse[]
GetEffectConditionSourceResponse
| Field | Type | Description |
|---|---|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| name | string| null | |
| dataType | string| null | |
| operators | string[]| null | |
| values | GetEffectConditionSourceResponseValueOption[]| null | |
| fillerKind | string| null | |
| availability | GetEffectConditionSourceResponseAvailabilityInfo| null |
GetEffectConditionSourceResponseValueOption
| Field | Type | Description |
|---|---|---|
| id | string| null | |
| label | string| null |
GetEffectConditionSourceResponseAvailabilityInfo
| Field | Type | Description |
|---|---|---|
| recordIds | uuid[]| null |