Docs

Create Area Type Effect

POST /area-types/{typeId}/effects

POST/area-types/{typeId}/effects

Adds an effect to an area type and returns its id. Conditions and outputs may reference only what the type places; runsAt is Org or Event. Needs Area.Configure at the organization.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
indexintegerOptional
rootLogicstringOptional
runsAtstringOptional
groupsCreateAreaTypeEffectRequestConditionGroup[]Optional
outputsCreateAreaTypeEffectRequestOutput[]Optional

CreateAreaTypeEffectRequestConditionGroup

FieldTypeDescription
logicstring| null
thresholdinteger| null
conditionsCreateAreaTypeEffectRequestCondition[]| null

CreateAreaTypeEffectRequestOutput

FieldTypeDescription
typestring| null
subjectTemplatestring| null
bodyTemplatestring| null
recipientsCreateAreaTypeEffectRequestOutputRecipient[]| null
roleDefinitionIduuid| null
targetAttributeIduuid| null
requiredboolean| null
isRequiredboolean| null
isTaskTrackedboolean| null
isTaskReviewRequiredboolean| null
fillSourcestring| null
sourceQuestionIduuid| null
sourceRoleDefinitionIduuid| null
fillValuestring| null

CreateAreaTypeEffectRequestCondition

FieldTypeDescription
sourceKindstring| null
sourceIduuid| null
sourcePathstring| null
operatorstring| null
valuestring| null

CreateAreaTypeEffectRequestOutputRecipient

FieldTypeDescription
crewIduuid| null
roleDefinitionIduuid| null
channelstring| null

Response

Type: uuid