POST api/InfoBizSub/CreateInfoBizSubRecord

会员 - 创建商家预约

Request Information

URI Parameters

None.

Body Parameters

InfoBizSubRecordCreateDto
NameDescriptionTypeAdditional information
ItemId

预约项目标识

integer

None.

UserId

预约用户

integer

None.

SubUserName

预约人用户名

string

None.

SubUserContact

预约人用户联系方式

string

None.

SubUserGender

预约人性别

SexType

None.

SubTime

预约时间

date

None.

IPAddress

IP地址

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:
<InfoBizSubRecordCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.InfoBizSub.Service.Dto">
  <IPAddress>sample string 6</IPAddress>
  <ItemId>1</ItemId>
  <SubTime>2025-08-22T18:58:29.3273663+08:00</SubTime>
  <SubUserContact>sample string 4</SubUserContact>
  <SubUserGender>Male</SubUserGender>
  <SubUserName>sample string 3</SubUserName>
  <UserId>2</UserId>
</InfoBizSubRecordCreateDto>

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

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