| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 是 | 开发者后台申请 | 调试 |
| 第三方企业应用 | 否 | — | — |
| 第三方个人应用 | 否 | — | — |
| 错误码 | 说明 | 排查方法 |
|---|---|---|
| 1002 | 参数错误 | 检查传入参数是否正确。 |
{
"unionid": "IlrIsTHaiSYXluZP61h0zxgiEiE",
"article": {
"thumb_media_id": "@lALPBbCc1XuaP_rNAljNAlg",
"digest": "摘要1",
"title": "标题1",
"uuid": "e5836bb2-2421-49fb",
"content": "<html><body><div>123</div></body></html>"
}
}curl --location --request POST 'http://127.0.0.1/topapi/material/article/add?access_token=30c9a84136943eaxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"unionid": "IlrIsTHaiSYXluZP61h0zxgiEiE",
"article": {
"thumb_media_id": "@lALPBbCc1XuaP_rNAljNAlg",
"digest": "摘要1",
"title": "标题1",
"uuid": "e5836bb2-2421-49fb",
"content": "<html><body><div>123</div></body></html>"
}
}'{
"errcode": 0,
"errmsg": "string",
"success": true,
"article_id": 0,
"request_id": "string"
}