# 启动票据推送服务
接口应在服务器端调用,详细说明参见服务端API。
# 接口说明
# 接口英文名
startPushTicket
# 功能描述
该 API 用于启动ticket推送服务。使用过程中如遇到问题,可在开放平台服务商专区发帖交流。
# 调用方式
# HTTPS 调用
POST https://api.weixin.qq.com/cgi-bin/component/api_start_push_ticket?access_token=ACCESS_TOKEN
# 请求参数
| 属性 | 类型 | 必填 | 说明 | |
|---|---|---|---|---|
| access_token | string | 是 | 第三方平台接口调用凭证component_access_token | |
| component_appid | string | 是 | 平台型第三方平台的appid | |
| component_secret | string | 是 | 平台型第三方平台的APPSECRET |
# 返回参数
| 属性 | 类型 | 说明 | |
|---|---|---|---|
| errcode | number | 错误码 | |
| errmsg | string | 错误信息 |
# 调用示例
示例说明: HTTPS请求示例
# 请求数据示例
{
"component_appid": "wxd0bfc95064b5bfc1",
"component_secret": "28c223a63f7de0d5xxxxxxxxxxx"
}
# 返回数据示例
{
"errcode": 0,
"errmsg": "ok"
}
# 错误码
| 错误码 | 错误码取值 | 解决方案 |
|---|---|---|
| 40013 | invalid appid | 不合法的 AppID ,请开发者检查 AppID 的正确性,避免异常字符,注意大小写 |