POST api/InfoBizSub/AdminCreateNewSubItem

后台 - 新增商家预约项目

Request Information

URI Parameters

None.

Body Parameters

InfoBizSubItemCreateDto
NameDescriptionTypeAdditional information
BizId

预约商家标识

integer

None.

SubName

预约项目名称

string

None.

IPAddress

IP地址

string

None.

StartTime

起始预约时间

date

None.

EndTime

截止预约时间

date

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:
<InfoBizSubItemCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.InfoBizSub.Service.Dto">
  <BizId>1</BizId>
  <EndTime>2025-08-22T18:58:27.0339278+08:00</EndTime>
  <IPAddress>sample string 3</IPAddress>
  <StartTime>2025-08-22T18:58:27.0339278+08:00</StartTime>
  <SubName>sample string 2</SubName>
</InfoBizSubItemCreateDto>

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

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