POST | /Profile/{Id}/Report | ||
---|---|---|---|
POST | /Profiles/{Id}/Report |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | long | No | UserID of profile that is to be reported or the user who authored the reported item. |
Category | body | AbuseReportType | No | |
Msg | body | string | No | Report message from the user or supplied by the system. |
Type | body | AbuseReportReason | No | |
MetaDataID | body | int | No | The ID to identify the reported item, if available. |
MessageText | body | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Profile/{Id}/Report HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
Category: System,
Msg: String,
Type: Other,
MetaDataID: 0,
MessageText: String
}