Skip to main content

createThreadEntry

Note

This method has been superseded. Use addThreadEntry instead. All new functionality will be delivered in addThreadEntry.

A MoogDb v2 method that creates a new entry on an existing thread in a Situation. Threads are comments or 'story activity' on Situations.

This method returns a Boolean indicating whether or not the thread entry was created successfully.

Back to MoogDb V2 API Method Reference.

Request arguments

Method createThreadEntry takes the following request arguments:

Name

Type

Required

Description

entry

String

Yes

Description of the new entry you want to create in the thread. For example, "And another thing...". HTML and XML tags are stripped from the thread entry text. Reserved characters are converted to HTML entities, for example, & is converted to &.

thread

String

Yes

Name of the existing thread.

userId

Number

A valid user ID.

situationId

String

Yes

Situation ID.

Response

Method createThreadEntry returns the following response:

API update behavior

The behavior of this method depends on whether the relevant alert or Situation is open, closed and still in the active database, or closed and archived to the historic database. This method updates or returns information about the alert or Situation as follows:

See API Update Behavior for more information on Situation statuses.