- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
消息子板批量查询接口
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/open/mini/template/mytemplate/batchquery
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/open/mini/template/mytemplate/batchquery' \
--header 'authorization: ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign' \
--header 'alipay-request-id: $requestid' \
--header 'Content-Type: application/json' \
--data-raw '{
"status_list":[
"STARTED"
],
"biz_type":"sub_msg",
"page_num":1,
"page_size":"1"
}'
响应示例响应示例
{
"template_list": [
{
"template_id": "bc685d8336f54bbfb5128f33560d4fa6",
"name": "xxxx消息模板",
"keyword_desc": "回复内容,投诉状态",
"delivery_settings": "follower",
"scene_rule": "one_time_subscribe",
"status": "DEVELOPED",
"fatigue": {
"unit": "day",
"total": "10",
"value": "1"
}
}
],
"total_count": 15,
"page_num": "1",
"page_size": "1"
}
请求参数
Header 参数
authorization
string
必需
示例值:
ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign
alipay-request-id
string
必需
示例值:
$requestid
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
status_list
array[string]
可选
biz_type
string
必需
page_num
integer
分页页号
page_size
string
必需
示例
返回响应
🟢200成功
application/json
Body
template_list
array [object {7}]
消息子板查询列表
template_id
string
消息子板id
name
string
消息子板名称
keyword_desc
string
必需
delivery_settings
string
可选
scene_rule
string
必需
status
string
必需
fatigue
object
消息子板疲劳度
total_count
integer
查询结果总数
page_num
string
分页页码
page_size
string
必需