assignModerator
A MoogDb v2 method that assigns the specified user as the owner of the specified Situation ID.
Back to MoogDb V2 API Method Reference.
Request arguments
Method assignModerator
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| Number | Yes | Situation ID. |
| Number | No, if you specify | ID of the user to be assigned as the owner of the alert. You must provide the |
| String | No, if you specify | Username of the user to be assigned to the alert. You must provide the |
Response
Method assignModerator
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 assignModerator
: