Create a Journal Entry

post

/api/event/EventJournals

Creates a new journal entry for a specified event.
The minimum required properties in the request body are:
  • EventID
  • JournalEntry
  • JournalActor (defaults to the current user if not specified)
  • JournalAction (defaults to "Manual journal entry by user" if not specified)
  • ShardID (defaults to 1 if not specified, but specify it if you are using database shards)

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • The ID of the event the new journal entry will be attached to.
  • Events
    A comma-separated list of event IDs. Any API action included applies to all events.
  • The action value to be used when the tool is run. It will default to the name of the tool if it is left blank.
    Example: Acknowledge
  • The actor value to be used when the tool is run. It will default to the UserID of the user running the tool if it is left blank.
    Example: John Doe
  • The text of the journal entry.
Nested Schema : Events
Type: array
A comma-separated list of event IDs. Any API action included applies to all events.
Show Source
Nested Schema : items
Type: object
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulAddOperation
Type: object
The response body for a successful add operation.
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The properties of the new journal entry.
Show Source
Nested Schema : eventEventJournalsRead
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
An error.
Back to Top