IRPCEventLog.AddCustomEventEntry

View as Markdown

Vault API / standard write session

Adds a custom entry to the vault's event log and returns its event ID.

ServiceEvent log MFiles.IRPCEventLog
gRPC method/MFiles.IRPCEventLog/AddCustomEventEntry
HTTP (mf-http-grpc)POST /grpc/v1/add-custom-event-entry
RequestAddCustomEventEntryRequest
ResponseAddCustomEventEntryResponse
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: AddCustomEventEntryRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
event_typestringAn identifier of your choice for the kind of event, for example "MyApp.ContractApproved". Stored as the customeventtype attribute of the entry.
xml_datastringThe event data: either an XML document (stored as XML) or plain text (stored as text). May be empty.

Response: AddCustomEventEntryResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
event_idint64The ID of the new event log entry, or 0 if event logging is disabled.