应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 服务窗发送消息权限 | API Explorer |
第三方企业应用 | 暂不支持 | 服务窗发送消息权限 | 暂不支持 |
第三方个人应用 | 暂不支持 | 服务窗发送消息权限 | 暂不支持 |
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | illegalParameter | Illegal parameter | 参数错误 |
400 | idempotentParameterMismatch.uuid | uuid not found. | uuid参数非法。 |
400 | illegalParameter.uuid | illegal uuid. | uuid参数非法。 |
400 | illegalParameter.messageContent | illegal message content. | 消息内容不合法。 |
400 | illegalParameter.messageBody | illegal message body. | 消息体不合法。 |
400 | illegalParameter.messageType | illegal message type. | 消息类型不合法。 |
400 | illegalParameter.messageReceiver | illegal message receiver. | 消息接收人不正确。 |
400 | illegalParameter.account | illegal account. | 服务窗帐号异常。 |
400 | illegalRequest.overQuota | request over quota. | 请求超过配额。 |
500 | systemError | system error. | 系统异常。 |
{}
curl --location --request POST 'http://127.0.0.1/v1.0/crm/officialAccounts/oToMessages/send' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{}'
{
"requestId": "string",
"result": {
"openPushId": "string"
}
}