mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 18:22:24 +08:00
feat(work): 导入企业微信 API 客户端项目
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userids": [
|
||||
"CORPID/USERID"
|
||||
],
|
||||
"department_ids": [
|
||||
"LINKEDID/DEPARTMENTID"
|
||||
]
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"department_id": "LINKEDID/DEPARTMENTID"
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"department_list": [
|
||||
{
|
||||
"department_id": "1",
|
||||
"department_name": "测试部门1",
|
||||
"parentid": "0",
|
||||
"order": 100000000
|
||||
},
|
||||
{
|
||||
"department_id": "2",
|
||||
"department_name": "测试部门2",
|
||||
"parentid": "1",
|
||||
"order": 99999999
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"userid": "CORPID/USERID"
|
||||
}
|
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"user_info": {
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"department": [
|
||||
"LINKEDID/1",
|
||||
"LINKEDID/2"
|
||||
],
|
||||
"mobile": "+86 12345678901",
|
||||
"telephone": "10086",
|
||||
"email": "zhangsan@tencent.com",
|
||||
"position": "后台开发",
|
||||
"corpid": "xxxxxx",
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"name": "自定义属性(文本)",
|
||||
"type": 0,
|
||||
"text": {
|
||||
"value": "10086"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "自定义属性(网页)",
|
||||
"type": 1,
|
||||
"web": {
|
||||
"url": "https://work.weixin.qq.com/",
|
||||
"title": "官网"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"department_id": "LINKEDID/DEPARTMENTID",
|
||||
"fetch_child": true
|
||||
}
|
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userlist": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"department": [
|
||||
"LINKEDID/1",
|
||||
"LINKEDID/2"
|
||||
],
|
||||
"mobile": "+86 12345678901",
|
||||
"telephone": "10086",
|
||||
"email": "zhangsan@tencent.com",
|
||||
"position": "后台开发",
|
||||
"corpid": "xxxxxx",
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"name": "自定义属性(文本)",
|
||||
"type": 0,
|
||||
"text": {
|
||||
"value": "10086"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "自定义属性(网页)",
|
||||
"type": 1,
|
||||
"web": {
|
||||
"url": "https://work.weixin.qq.com/",
|
||||
"title": "官网"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"department_id": "LINKEDID/DEPARTMENTID",
|
||||
"fetch_child": true
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userlist": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"department": [ "LINKEDID/1", "LINKEDID/2" ],
|
||||
"corpid": "xxxxxx"
|
||||
},
|
||||
{
|
||||
"userid": "lisi",
|
||||
"name": "李四",
|
||||
"department": [ "LINKEDID/1" ],
|
||||
"corpid": "xxxxxx"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user