错误码 | 说明 |
---|---|
20701 | staff_id 错误,找不到对应员工 |
20702 | msgtype 不合法 |
20703 | content 不可为空 |
{
"staff_id" : "zhangsan",
"msgtype" : "text",
"content" : "{staff_name},管理员提醒你完成转发活动!详情可查看<a href=\"http://work.weixin.qq.com\">群发详情</a>"
}
curl --location --request POST 'https://open.weibanzhushou.com/open-api/staff_message/send?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"staff_id" : "zhangsan",
"msgtype" : "text",
"content" : "{staff_name},管理员提醒你完成转发活动!详情可查看<a href=\"http://work.weixin.qq.com\">群发详情</a>"
}'
{
"errcode": 0,
"errmsg": "ok"
}