setResolvingThreadEntry

A MoogDb v2 method that sets or clears a thread entry in a Situation as a resolving step. Threads are comments or 'story activity' on Situations.

Back to MoogDb V2 API Method Reference.

Request arguments

Method setResolvingThreadEntry takes the following request arguments:

Name

Type

Required

Description

entryId

Number

Yes

ID of the thread entry.

resolving_step

Boolean

Yes

Whether you are setting or clearing the thread entry as a resolving step.

userId

Number

Yes

A valid user ID.

Response

Method setResolvingThreadEntry 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.

Examples

The following examples demonstrate typical use of method setResolvingThreadEntry:

Request example

Example request to mark thread entry 32 as a resolving step using user ID 1:

var success = moogdb.setResolvingThreadEntry(32, true, 1);

Response example