dingtalk.oapi.robot.message.getpushid (ISV获取机器人消息批量推送Id)

颁发给isv机器人消息批量推送id

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
result String 123 批量消息推送Id
success Boolean True 是否调用成功
errcode Number 0 dingOpenErrcode
errmsg String 成功 errorMsg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/robot/message/getpushid");
OapiRobotMessageGetpushidRequest req = new OapiRobotMessageGetpushidRequest();
OapiRobotMessageGetpushidResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • JSON示例
{
    "result":"123",
    "success":True,
    "errcode":0,
    "errmsg":"成功"
}

异常示例

  • JSON示例
{
	"errcode":88,
	"errmsg":"ding talk error"
}

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部