Moogsoft Docs

createThread

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

Back to MoogDb V2 API Method Reference.

Request arguments

Method createThread takes the following request arguments:

Name

Type

Required

Description

situationId

Number

Yes

ID of the Situation you want to create a new thread for.

thread

String

Yes

Name of the new thread.

Response

Method createThread returns the following response:

API behavior in active and historic databases

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.

The following examples demonstrate typical use of method createThread:

Request example

Example request to [complete]:

Response example

Example response returning [complete]: