GET api/WeChatPublic/GetMadiaList?UploadMediaFileType={UploadMediaFileType}&PageSize={PageSize}&Keywords={Keywords}&PageID={PageID}

获取微信公众号素材(除图文)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UploadMediaFileType

素材类型

UploadMediaFileType

None.

PageSize

每页条数

integer

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

获取微信公众号素材(除图文)

MediaList_OthersResult
NameDescriptionTypeAdditional information
item

Collection of MediaList_Others_Item

None.

total_count

integer

None.

item_count

integer

None.

errcode

ReturnCode

None.

ErrorCodeValue

integer

None.

errmsg

string

None.

P2PData

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<MediaList_OthersResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.MP.AdvancedAPIs.Media">
  <_x003C_P2PData_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities" />
  <_x003C_errmsg_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities">sample string 3</_x003C_errmsg_x003E_k__BackingField>
  <_x003C_errcode_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/Senparc.Weixin.Entities">请求成功</_x003C_errcode_x003E_k__BackingField>
  <item_count>2</item_count>
  <total_count>1</total_count>
  <item>
    <MediaList_Others_Item>
      <media_id>sample string 1</media_id>
      <name>sample string 2</name>
      <update_time>3</update_time>
      <url>sample string 4</url>
    </MediaList_Others_Item>
    <MediaList_Others_Item>
      <media_id>sample string 1</media_id>
      <name>sample string 2</name>
      <update_time>3</update_time>
      <url>sample string 4</url>
    </MediaList_Others_Item>
  </item>
</MediaList_OthersResult>