POST/eventTypes/{eventTypeId}/intake/preview
Previews what an event type's intake effects would do for a set of provisional answers, before the event exists:
template entities turned off, roles marked required, attribute and role fills, and tracking changes. Nothing is
saved. Effects that depend on anything other than intake answers are not previewed, and a type without an intake
form previews nothing. Needs an organization token. The event type id comes from the Organization API's
EventTypes_GetEventTypes.
Path Parameters
| Field | Type | Required | Description |
|---|
| eventTypeId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| answers | IntakePreviewRequestAnswer[] | Optional | |
IntakePreviewRequestAnswer
| Field | Type | Description |
|---|
| questionId | uuid | |
| value | string| null | |
Response
| Field | Type | Description |
|---|
| disabledTemplateEntityIds | uuid[]| null | |
| rolesMarkedRequired | uuid[]| null | |
| attributeFills | IntakePreviewResponseAttributeFill[]| null | |
| roleOccupantFills | IntakePreviewResponseRoleOccupantFill[]| null | |
| roleTaskTrackedChanges | IntakePreviewResponseRoleTaskTrackedChange[]| null | |
| attributeTrackingChanges | IntakePreviewResponseAttributeTrackingChange[]| null | |
IntakePreviewResponseAttributeFill
| Field | Type | Description |
|---|
| targetAttributeId | uuid | |
| value | string| null | |
IntakePreviewResponseRoleOccupantFill
| Field | Type | Description |
|---|
| roleDefinitionId | uuid | |
| occupantId | uuid | |
IntakePreviewResponseRoleTaskTrackedChange
| Field | Type | Description |
|---|
| roleDefinitionId | uuid | |
| isTaskTracked | boolean | |
IntakePreviewResponseAttributeTrackingChange
| Field | Type | Description |
|---|
| targetAttributeId | uuid | |
| isRequired | boolean| null | |
| isTaskTracked | boolean| null | |
| isTaskReviewRequired | boolean| null | |