Fires when an agent uploads attachments or photos to a submitted application. This is the event of the "Attachment(s) or Photo(s) Uploaded to Submitted Application" admin alert. It fires where that alert is sent, one time for each upload, also when the alert's email list is empty. revision_id is the submitted revision, which the alert routes by (policy type and state). file_kind is "document" or "photo", and file_id is the first file of the upload.
Field
Value
Topic
quotes.application_attachment_uploaded
Schema ID
BritecoreApplicationAttachmentUploaded.v1
Version
1.0.0
Payload schema
Code
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://docs.britecore.com/schemas/events/application_attachment_uploaded.json", "title": "ApplicationAttachmentUploadedEvent", "description": "Fires when an agent uploads attachments or photos to a submitted application. This is the event of the \"Attachment(s) or Photo(s) Uploaded to Submitted Application\" admin alert. It fires where that alert is sent, one time for each upload, also when the alert's email list is empty. ``revision_id`` is the submitted revision, which the alert routes by (policy type and state). ``file_kind`` is \"document\" or \"photo\", and ``file_id`` is the first file of the upload.", "type": "object", "properties": { "event_id": { "type": "string", "format": "uuid", "description": "Unique identifier for this event instance." }, "event_date": { "type": "string", "format": "date-time", "description": "Timestamp the event was emitted (UTC)." }, "schema_id": { "type": "string", "description": "Schema identifier. Stable per event type.", "const": "BritecoreApplicationAttachmentUploaded.v1" }, "version": { "type": "string", "description": "Schema version.", "const": "1.0.0" }, "topic": { "type": "string", "description": "Topic the event was published on." }, "triggering_user": { "type": "object", "description": "User that triggered the event.", "properties": { "id": { "type": "string" }, "external_system_reference": { "type": "string" } } }, "data": { "type": "object", "properties": { "policy_id": { "type": "integer" }, "revision_id": { "type": "integer" }, "policy_term_id": { "type": "integer" }, "quote_external_system_reference": { "type": "string" }, "file_kind": { "type": "string" }, "file_id": { "type": "string" } }, "required": [ "policy_id", "revision_id", "policy_term_id", "quote_external_system_reference", "file_kind", "file_id" ] } }, "required": [ "event_id", "event_date", "schema_id", "version", "topic", "data" ]}
The schema is also published as a standalone JSON Schema artefact you can
fetch and consume programmatically. See schemas/events/application_attachment_uploaded.json
on the published portal.