# Get Draft Box List

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

getTemplatedRaftList

# Functional description

  • Through this interface, you can get all the drafts in the third party platform draft box
  • The draft was uploaded by a third-party platform's development Mini Program using WeChat developer tools. If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges.

# Calling mode

# HTTPS call


GET https://api.weixin.qq.com/wxa/gettemplatedraftlist? access_token=ACCESS_TOKEN 

# Request parameters

attribute type Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. usecomponent_access_Token

# Return parameters

attribute typeIntroductions
errcode number Error code
errmsg string Error message
draft_list array Draft Box Information
attribute type Introductions
初始值_time number Developer Upload Draft Timestamp
user_version string Version Number, Developer Custom Field
user_desc string Version Description Developer Custom Fields
draft_id number draft id

# Call Example

Example Dxplaination: HTTPS Request Example

# Sample Request Data


GET https://api.weixin.qq.com/wxa/gettemplatedraftlist? access_token=ACCESS_TOKEN 

# Return Data Example


{
  "errcode": 0,
  "errmsg": "ok",
  "draft_list": [
    {
      "create_time": 1488965944,
      "user_version": "VVV",
      "user_Desc": "AAS",
      "draft_id": 0
    },
    {
      "create_time": 1504790906,
      "user_version": "11",
      "user_Desc": "111111",
      "draft_id": 4
    }
  ]
} 

# Error code

Error code Error code Solutions
40001 invalid credential  access_Token isinvalid or not latest Obtain access_Token time AppSecret Error, or access_Token Invalid. Please take the developer more seriously. AppSecret Of the correctness, or to see if you are working for the appropriate Official Account message template Call interface
85064 template not found Template not found
-1 system error The system is busy, please wait for the developer to try again