POST api/InfoBiz/ImportBizByFile

后台 - 批量导入商家

Request Information

URI Parameters

None.

Body Parameters

InfoBizImportByFileDto
NameDescriptionTypeAdditional information
Category1stId

一级分类标识

integer

None.

Category2ndId

二级分类标识 可多选(逗号分隔)

string

None.

FilePath

文件相对路径

string

None.

ImportStatus

导入商家状态

AuditStatusType

None.

IsShelf

是否上架

boolean

None.

ExpireTime

过期时间

date

None.

IsNeverExpire

是否无限期

boolean

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:
<InfoBizImportByFileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Info.Service.Dto.InfoBiz">
  <Category1stId>1</Category1stId>
  <Category2ndId>sample string 2</Category2ndId>
  <ExpireTime>2024-04-30T01:40:53.0041954+08:00</ExpireTime>
  <FilePath>sample string 3</FilePath>
  <ImportStatus>TobeAgree</ImportStatus>
  <IsNeverExpire>true</IsNeverExpire>
  <IsShelf>true</IsShelf>
</InfoBizImportByFileDto>

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

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