Create Event

Creates an event.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
assetRidsset of stringsRequired

Must contain at least one asset rid.

originsset of objectsRequired

If empty, will default to set<EventOrigin.api>.

timestampobjectRequired
durationobjectRequired
namestringRequired
typeenumRequired
Allowed values:
labelsset of stringsRequired
propertiesmap from strings to stringsRequired
descriptionstringOptional

If not provided, will default to an empty string.

dispositionobjectOptional

Response

This endpoint returns an object.
uuidUUID
ridstring

Unique resource identifier for an Event.

assetRidsset of strings

A set of asset rids associated with the event.

originsset of objects

A set of origins associated with the event.

timestampobject
durationobject
namestring
descriptionstring
typeenum
Allowed values:
labelsset of strings
propertiesmap from strings to strings
isArchivedboolean
createdBystringOptional

The user who created the event. This field may be missing for legacy events.

dispositionobjectOptional