POST api/Search/GetDownFileSuffix

【*所有下载都调这个接口*】获取文件类型后缀

Request Information

URI Parameters

None.

Body Parameters

DownFileModel
NameDescriptionTypeAdditional information
downurl

下载链接

string

None.

title

文章标题(可空)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "downurl": "sample string 1",
  "title": "sample string 2"
}

application/xml, text/xml

Sample:
<DownFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Search.Model">
  <downurl>sample string 1</downurl>
  <title>sample string 2</title>
</DownFileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

【*所有下载都调这个接口*】获取文件类型后缀

ResultModel
NameDescriptionTypeAdditional information
Code

返回码

ResultCode

None.

Message

返回信息

string

None.

Data

返回的数据

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 10000,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models">
  <Code>Success</Code>
  <Data />
  <Message>sample string 1</Message>
</ResultModel>