GET api/InfoBizSub/GetInfoBizSubConfig?bizId={bizId}

获取商家配置

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bizId

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取商家配置

InfoBizSubConfigDto
NameDescriptionTypeAdditional information
BizId

商家标识

integer

None.

IsSubOpen

是否启用预约

boolean

None.

SubItems

预约项目

Collection of mh163k_InfoBizSub_BizSubItems

None.

CanSub

是否能预约

boolean

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:
<InfoBizSubConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.InfoBizSub.Service.Dto">
  <BizId>1</BizId>
  <IsSubOpen>true</IsSubOpen>
  <SubItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.InfoBizSub.Service.Model">
    <d2p1:mh163k_InfoBizSub_BizSubItems>
      <d2p1:BizId>2</d2p1:BizId>
      <d2p1:CreateTime>2025-08-22T19:06:30.8073943+08:00</d2p1:CreateTime>
      <d2p1:EndTime>2025-08-22T19:06:30.8073943+08:00</d2p1:EndTime>
      <d2p1:IPAddress>sample string 4</d2p1:IPAddress>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IntOrder>8</d2p1:IntOrder>
      <d2p1:StartTime>2025-08-22T19:06:30.8073943+08:00</d2p1:StartTime>
      <d2p1:SubName>sample string 3</d2p1:SubName>
    </d2p1:mh163k_InfoBizSub_BizSubItems>
    <d2p1:mh163k_InfoBizSub_BizSubItems>
      <d2p1:BizId>2</d2p1:BizId>
      <d2p1:CreateTime>2025-08-22T19:06:30.8073943+08:00</d2p1:CreateTime>
      <d2p1:EndTime>2025-08-22T19:06:30.8073943+08:00</d2p1:EndTime>
      <d2p1:IPAddress>sample string 4</d2p1:IPAddress>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IntOrder>8</d2p1:IntOrder>
      <d2p1:StartTime>2025-08-22T19:06:30.8073943+08:00</d2p1:StartTime>
      <d2p1:SubName>sample string 3</d2p1:SubName>
    </d2p1:mh163k_InfoBizSub_BizSubItems>
  </SubItems>
</InfoBizSubConfigDto>