POST api/LoveReport/CreateNewReport

会员中心 - 创建举报

Request Information

URI Parameters

None.

Body Parameters

举报内容

LoveReportCreateDto
NameDescriptionTypeAdditional information
LoveUserId

举报相亲会员标识

integer

None.

ReportedLoveUserId

被举报相亲会员标识

integer

None.

Content

举报内容

string

None.

ReportIp

举报IP

string

None.

ReportCategory

举报类型

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<LoveReportCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Dto.LoveReport.Member">
  <Content>sample string 3</Content>
  <LoveUserId>1</LoveUserId>
  <ReportCategory>5</ReportCategory>
  <ReportIp>sample string 4</ReportIp>
  <ReportedLoveUserId>2</ReportedLoveUserId>
</LoveReportCreateDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoveReportCreateDto'.

Response Information

Resource Description

会员中心 - 创建举报

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />