POST api/LoveCardProject/Create

后台--创建批量相亲生成项目

Request Information

URI Parameters

None.

Body Parameters

LoveCardProjectCreateDto
NameDescriptionTypeAdditional information
Id

主键

integer

None.

ProjectName

项目名称

string

None.

QrCodeType

二维码类型

QrCodeType

None.

IsForever

是否永久二维码

boolean

None.

ValidDateTime

如果为临时二维码,有效期

date

None.

Nums

数量

integer

None.

FolderPath

文件夹地址

string

None.

TemplateNo

海报模板编号

integer

None.

LoveUserStatus

相亲状态

LoveUserStatus

None.

CreateType

注册时间 默认不限

LoveUserCreateType

None.

sex

性别(0女,1男) (全部 -1)

LoveUserSex

None.

workProvince

工作地 省份编码

integer

None.

workCity

工作地 城市编码

integer

None.

workCounty

工作地 区县编码

integer

None.

real

实名认证(1已认证、0未认证) (全部 -1)

RealAuditState

None.

UserVipType

会员类型2003

LoveUserVipType

None.

heightStart

身高 开始(数值、cm) 默认0

integer

None.

heightEnd

身高 结束(数值、cm) 默认0

integer

None.

YearStrat

开始年

integer

None.

MonthStrat

开始月

integer

None.

DayStrat

开始日

integer

None.

YearEnd

结束年

integer

None.

MonthEnd

结束月

integer

None.

DayEnd

结束日

integer

None.

marriage

婚姻状况 逗号分割

string

None.

xueli

学历 逗号分割

string

None.

work

工作 逗号分割

string

None.

yuexin

月薪 逗号分割

string

None.

MatchmakerId

服务红娘

string

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:
<LoveCardProjectCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LoveCard.Service.Dto">
  <CreateType>All</CreateType>
  <DayEnd>17</DayEnd>
  <DayStrat>14</DayStrat>
  <FolderPath>sample string 5</FolderPath>
  <Id>1</Id>
  <IsForever>true</IsForever>
  <LoveUserStatus>Open</LoveUserStatus>
  <MatchmakerId>sample string 22</MatchmakerId>
  <MonthEnd>16</MonthEnd>
  <MonthStrat>13</MonthStrat>
  <Nums>4</Nums>
  <ProjectName>sample string 2</ProjectName>
  <QrCodeType>H5</QrCodeType>
  <TemplateNo>6</TemplateNo>
  <UserVipType>All</UserVipType>
  <ValidDateTime>2025-08-22T18:58:29.8605852+08:00</ValidDateTime>
  <YearEnd>15</YearEnd>
  <YearStrat>12</YearStrat>
  <heightEnd>11</heightEnd>
  <heightStart>10</heightStart>
  <marriage>sample string 18</marriage>
  <real>No</real>
  <sex>Female</sex>
  <work>sample string 20</work>
  <workCity>8</workCity>
  <workCounty>9</workCounty>
  <workProvince>7</workProvince>
  <xueli>sample string 19</xueli>
  <yuexin>sample string 21</yuexin>
</LoveCardProjectCreateDto>

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 'LoveCardProjectCreateDto'.

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/" />