| HTTP 状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 200 | 0 | success | 接口请求成功,无需排查 |
| 200 | 29005025 | 主播发券配置不存在 | 确认是否有调用主播发券权限配置 接口绑定主播与券模板的关系 |
| 200 | 28001007 | 参数不合法 | 检查请求参数是否填写 正常 |
| 200 | 29005071 | No Permission Operate | 没有权限调用该接口,检查申请access-token的client_key是否与app_id一致 |
| 200 | 28001005 | 系统内部错误,请重试 | 请求重试,若依然无解请向平台提交反馈 |
curl --location --request POST 'http://dev-cn.your-api-server.com/api/promotion/v1/coupon/get_talent_coupon' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_type": 1,
"talent_account": "7932234",
"open_id": "",
"app_id": "ttec789ac573xxxxxx01",
"coupon_meta_id": "702345xxxxxxx"
}'{
"data": {
"account_type": 1,
"talent_account": "7932234",
"app_id": "ttec789ac573xxxxxx01",
"coupon_meta_id": "702345xxxxxxx",
"status": 1,
"stock_limit": 100
},
"err_msg": "",
"err_no": 0,
"log_id": "20230418153707479F50CDEC0653C4E448"
}