curl --location --request POST 'https://open.fxiaoke.com/cgi/user/getByNickName' \
--header 'Content-Type: application/json' \
--data-raw '{ "corpAccessToken": , "corpId": {{corpId}}, "nickName": "xiaom"}'
{
"empList": [
{
"enterpriseId": 74652,
"openUserId": "FSUID_29E5A988B0A54AD400C3D5861E18C683",
"account": "xiaom",
"fullName": "小明",
"name": "xiaom",
"status": "NORMAL",
"mobile": "18211565695",
"leaderId": "FSUID_C6384C8A5942F92C691BC1339D367877",
"telephone": "",
"role": "UNKNOWN",
"post": "",
"qq": "",
"email": "",
"gender": "M",
"profileImage": "",
"description": "",
"weixin": "",
"msn": "",
"extensionNumber": "",
"mobileSetting": {
"mobileStatus": "PUBLIC",
"departmentIds": [],
"employeeIds": []
},
"workingState": "",
"isActive": true,
"mainDepartmentIds": [
1000
],
"departmentIds": [
1000
],
"departmentAsteriskIds": [],
"employeeAsteriskIds": [],
"birthDate": "",
"hireDate": "2019-02-01",
"empNum": "",
"startWorkDate": "",
"stopTime": 0,
"createTime": 1557819347900,
"updateTime": 1585122983800,
"nameSpell": "xiaom",
"nameOrder": "X#0058#0055#0043#0048#0041#004F"
}
],
"errorCode": 0,
"errorMessage": "success",
"errorDescription": "成功"
}
【纷享销客】API开发者 微信交流群
用微信扫右侧二维码,加入【纷享销客】API开发者 交流群,互助沟通