Create Event Type
POST/api/EntityEventRecords/CreateEventType
Tier: Public — stable, supported for third-party integration.
Creates an event-category definition.
Request
Responses
- 200
- 400
The created event type. See EntityEventRecords.EventTypeDetailDto.
AddEventTypeDto.Name or AddEventTypeDto.EventScope missing (MissingRequiredField);
AddEventTypeDto.EventScope not a valid Enums.EventTypeEntity member (InvalidValue);
a non-deleted event type with the same Name and EventScope already exists in the organisation (DuplicateResource);
or the insert failed (OperationFailed).