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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"Id":0,"Category":"System","Msg":"String","Type":"Other","MetaDataID":0,"MessageText":"String"}