POST api/LoveVirtualMember/GenerateLoveVirtualMembers

后台 - 生成随机相亲会员数据

Request Information

URI Parameters

None.

Body Parameters

LoveVMGenerateVirtualMemberDto
NameDescriptionTypeAdditional information
GenerateCount

生成数量

integer

None.

GenerateGender

生成会员性别,不填则完全随机

SexType

None.

HeadSetSelectType

会员头像选择方式

LvmHeadSetGenerateType

None.

HeightFrom

身高起始(cm)

decimal number

None.

HeightTo

身高截止(cm)

decimal number

None.

BrithFrom

生日起始日期

date

None.

BirthTo

生日截止日期

date

None.

MarriageIds

婚姻状态标识集合

Collection of integer

None.

EducationIds

学历标识集合

Collection of integer

None.

SalaryIds

收入范围标识集合

Collection of integer

None.

WorkIds

职业标识集合

Collection of integer

None.

OriginalDistrictIds

籍贯最后一级标识集合

Collection of integer

None.

CurrentDistrictIds

现居地最后一级标识集合

Collection of integer

None.

CarHoldingIds

购车情况标识集合

Collection of integer

None.

EstateHoldingIds

购房情况标识集合

Collection of integer

None.

CharacterIds

性格标识集合

Collection of integer

None.

InterestIds

兴趣标识集合

Collection of integer

None.

HeightDmdFrom

身高需求起始(cm)

integer

None.

HeightDmdTo

身高需求截止(cm)

integer

None.

AgeDmdFrom

年龄需求起始

integer

None.

AgeDmdTo

年龄需求截止

integer

None.

EducationDmdIds

教育要求标识集合

Collection of integer

None.

WorkDmdIds

职业要求标识集合

Collection of integer

None.

MarrigeDmdIds

婚姻要求标识集合

Collection of integer

None.

LivingDmdIds

住房要求标识集合

Collection of integer

None.

CigarDmdIds

吸烟要求标识集合

Collection of integer

None.

AlcoholDmdIds

喝酒要求标识集合

Collection of integer

None.

PhoneContact

手机号

string

None.

WechatContact

微信号

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:
<LoveVMGenerateVirtualMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LoveVirtualMember.Service.Dto.GenRecord">
  <AgeDmdFrom>8</AgeDmdFrom>
  <AgeDmdTo>9</AgeDmdTo>
  <AlcoholDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AlcoholDmdIds>
  <BirthTo>2025-08-22T19:04:40.0974402+08:00</BirthTo>
  <BrithFrom>2025-08-22T19:04:40.0974402+08:00</BrithFrom>
  <CarHoldingIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CarHoldingIds>
  <CharacterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CharacterIds>
  <CigarDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CigarDmdIds>
  <CurrentDistrictIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CurrentDistrictIds>
  <EducationDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EducationDmdIds>
  <EducationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EducationIds>
  <EstateHoldingIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EstateHoldingIds>
  <GenerateCount>1</GenerateCount>
  <GenerateGender>Male</GenerateGender>
  <HeadSetSelectType>OrderByLib</HeadSetSelectType>
  <HeightDmdFrom>6</HeightDmdFrom>
  <HeightDmdTo>7</HeightDmdTo>
  <HeightFrom>2.1</HeightFrom>
  <HeightTo>3.1</HeightTo>
  <InterestIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InterestIds>
  <LivingDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LivingDmdIds>
  <MarriageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MarriageIds>
  <MarrigeDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MarrigeDmdIds>
  <OriginalDistrictIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </OriginalDistrictIds>
  <PhoneContact>sample string 10</PhoneContact>
  <SalaryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SalaryIds>
  <WechatContact>sample string 11</WechatContact>
  <WorkDmdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WorkDmdIds>
  <WorkIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WorkIds>
</LoveVMGenerateVirtualMemberDto>

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

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