dingtalk.oapi.pbp.instance.group.create (打卡业务平台创建业务实例打卡组)

打卡业务平台,创建业务实例对应的打卡组

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
group_param PunchGroupCreateParam 必须 打卡组创建参数
  • └ biz_inst_id
  • String
  • 必须
  • uuid
  • 业务实例id
  • └ biz_id
  • String
  • 可选
  • meeting_check_in_xx
  • 业务唯一标识

响应参数

名称 类型 示例值 描述
punch_group_id String 1231231 打卡组id
errcode Number 1232131 错误码
errmsg String instId error 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/pbp/instance/group/create");
OapiPbpInstanceGroupCreateRequest req = new OapiPbpInstanceGroupCreateRequest();
PunchGroupCreateParam obj1 = new PunchGroupCreateParam();
obj1.setBizInstId("uuid");
obj1.setBizId("meeting_check_in_xx");
req.setGroupParam(obj1);
OapiPbpInstanceGroupCreateResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • JSON示例
{
    "punch_group_id":"1231231",
    "errcode":1232131,
    "errmsg":"instId error"
}

异常示例

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

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部