[TOC]
### 接口說明
> 這個操作會將違法行為內容報告給相應的執法機構。
> * 美國失蹤和受虐兒童中心(NCMEC)
> 以后將增加更多報告機構。
### 請求Url
`[POST] https://api-westus.microsoftmoderator.com/v1/Violation/Report`
### 請求頭部(headers)
| 字段 | 類型 | 描述 |
| -- | -- | -- |
| Content-Type (可選) | string | 發送到API的媒體類型。 |
| Ocp-Apim-Subscription-Key | string | 提供訪問該接口的訂閱密鑰。在您的個人資料中可以找到。 |
### 請求體(body)
| 字段 | 描述 | 可選 |
| -- | -- | -- |
| OrgName | 這是組織的名稱 | 必填 |
| ReporterName | 報告者姓名 | 必填 |
| ReporteeName | 要舉報的人/組織名稱 | 必填 |
| ReporteeIPAddress | 違法行為所在服務器的IP地址 | 必填 |
| IncidentTime | 事發日期時間 | 必填 |
| AdditionalMetadata | 附加選項的鍵-值對集合 | 可選 |
| ViolationContentCollection | 所報告的內容<br>它是一組包含下列內容的集合:<br>Value:報告內容的Base-64編碼<br>Location (可選):被標記的內容在,全球定位系統中的位置<br>AdditionalMetadata (可選):附加選項的鍵-值對集合 | 必填 |
> ~~~
{
"OrgName": "TestOrg",
"ReporterName": "Reporter1",
"IncidentTime": "9/10/2014 9:08:14 PM",
"ReporteeName": "Reportee1",
"ReporteeIPAddress": "0.0.0.0",
"ViolationContentCollection": [
{
"Value": "Base 64 image string",
"Location": null,
"AdditionalMetadata": []
}
],
"AdditionalMetadata": [],
"OrgId": 1,
"TrackingId": "1"
}
> ~~~