/api/v1/external/companies/{companyId}/entities/Event. Like all FMV1 entities, the set of available fields is configured per company.
Key Concepts:
- The request body for create and update is a flat JSON object where keys are field
referenceIds (e.g.,eventName,lossDescription). - Responses use the generic entity envelope — all field values live inside a
fieldModelV1Dataobject, alongsideid,createdAt/createdBy,updatedAt/updatedBy, and resolvedcreatedByName/updatedByName. There is no top-levelcompanyId,policyId, orlawsuitId. - Updates use merge semantics — provided fields are merged onto the existing data, a key set to
nullclears that field, and omitted fields are left unchanged.PUTis accepted as an alias forPATCH. - Get returns the event’s own data only — there is no cross-entity enrichment. Linked entities (for example policies) are not embedded; query them separately.
Framework-Required Fields
These fields are required by the framework on create:| Field | Description |
|---|---|
eventType | Event type (Option Set value) |
eventCoverageType | Coverage type (Option Set value) |
eventStatus | Event status. Typically populated by the resolver if omitted. |
eventName | Display name for the event |
eventReferenceId | Reference identifier. Typically populated by the resolver if omitted. |
Configuration
Configuration discovery uses the unified entity configuration endpoint. CallGET /api/v1/external/companies/{companyId}/entities/event/configuration to retrieve a JSON Schema of the available event fields for your company. The schema includes:
- Field types:
string,number,boolean,object - Option Set fields: include an
enumarray of valid values - Required fields: listed in the
requiredarray
Field Types
| FMV1 Type | JSON Type | Description |
|---|---|---|
| Text | string | Free-text string |
| Number | number | Numeric value |
| Boolean | boolean | True/false |
| Option Set | string or number | Constrained to enum values |
| Date | object | { "date": "YYYY-MM-DD", "timezone": "America/New_York" } — not a plain string |
| Object | object | Nested object |
Permissions
Permissions are not type-specific — the same permissions apply to all events regardless of type.| Operation | Permission |
|---|---|
| Get Configuration | company.event:export |
| List / Get | company.claim:read |
| Create | company.claim:create |
| Update | company.claim:create |
| Delete | company.claim:delete |
Example Create Request
Example Response
createdAt and updatedAt are epoch-second integers, not ISO strings.