GET api/WeChatPublic/GetMediaByteDataById?MadiaId={MadiaId}

根据微信永久素材id获取文件数据流(base64格式,除了图文和视频都可以用这个接口拿文件流)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MadiaId

素材id

string

Required

Body Parameters

None.

Response Information

Resource Description

根据微信永久素材id获取文件数据流(base64格式,除了图文和视频都可以用这个接口拿文件流)

string

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:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>