com.hn.dingtalk.constant.DingURLConstant Maven / Gradle / Ivy
package com.hn.dingtalk.constant;
public class DingURLConstant {
/**
* 钉钉网关gettoken地址
*/
public static final String URL_GET_TOKKEN = "https://oapi.dingtalk.com/gettoken";
/**
*获取用户在企业内userId的接口URL
*/
public static final String URL_GET_USER_INFO = "https://oapi.dingtalk.com/user/getuserinfo";
/**
*获取用户姓名的接口url
*/
public static final String URL_USER_GET = "https://oapi.dingtalk.com/user/get";
/**
* 发起审批实例的接口url
*/
public static final String URL_PROCESSINSTANCE_START = "https://oapi.dingtalk.com/topapi/processinstance/create";
/**
* 获取审批实例的接口url
*/
public static final String URL_PROCESSINSTANCE_GET = "https://oapi.dingtalk.com/topapi/processinstance/get";
/**
* 发送企业通知消息的接口url
*/
public static final String MESSAGE_ASYNCSEND = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";
/**
* 删除企业回调接口url
*/
public static final String DELETE_CALLBACK = "https://oapi.dingtalk.com/call_back/delete_call_back";
/**
* 注册企业回调接口url
*/
public static final String REGISTER_CALLBACK = "https://oapi.dingtalk.com/call_back/register_call_back";
/**
* 批量获取审批实例id
*/
public static final String LIST_IDS = "https://oapi.dingtalk.com/topapi/processinstance/listids";
/**
* 获取审批实例详情url
*/
public static final String PROCESS_INSTANCE_GET = "https://oapi.dingtalk.com/topapi/processinstance/get";
/**
* 获取用户待审批数量url
*/
public static final String GET_TODO_NUM = "https://oapi.dingtalk.com/topapi/process/gettodonum";
/**
* 获取用户可见的审批模板url
*/
public static final String LIST_BY_USER_ID = "https://oapi.dingtalk.com/topapi/process/listbyuserid";
/**
* 获取审批钉盘空间信息url
*/
public static final String CSPACE_INFO = "https://oapi.dingtalk.com/topapi/processinstance/cspace/info";
/**
* 创建审批模板
*/
public static final String SAVE_PROCESS_MODEL = "https://oapi.dingtalk.com/topapi/process/save";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy