POST api/Moderation/SendAlert
Request Information
URI Parameters
None.
Body Parameters
ModerationAlert| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| GroupId | integer |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"GroupId": 2,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<ModerationAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ethos.Models"> <GroupId>2</GroupId> <Message>sample string 3</Message> <UserId>1</UserId> </ModerationAlert>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AlertResult| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| status | string |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"status": "sample string 2",
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<Status.AlertResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ethos.Models"> <message>sample string 3</message> <status>sample string 2</status> <token>sample string 1</token> </Status.AlertResult>