Getting No login authorization code
Getting No login authorization code
Get access_token
Please refer to access_token for getting “access_token”
GettingUser Details
Interface name
/rpc/oauth2/dingtalk_app_user.json
Request method:
POST(HTTPS)
Request parameter:
Parameter | Parameter Type | Required | Remark |
---|---|---|---|
access_token | String | Yes | Interface identifier for calling |
auth_code | String | Yes | Authorization for non-login |
Return Results
{
"success": true,
"content": {
"responseMessage": "成功",
"data": {
"account": "pishi.hy",
"accountId": 93,
"clientId": "mozi-developer-center",
"employeeCode": "pishi.hy",
"lastName": "洪阳",
"namespace": "local",
"nickNameCn": "洪阳",
"openid": "6f1a885a4020f3624b71570b74925d7b",
"realmId": 57,
"realmName": "绣花针测试租户",
"tenantUserId": "57$93"
},
"responseCode": "0"
}
}
Return parameter
Parameter | Parameter Type | Remark |
---|---|---|
account | String | Account Name |
accountId | Long | Account id |
clientId | String | Application name |
employeeCode | String | Staff code |
lastName | String | Name |
namespace | String | Account Type |
nickNameCn | String | Nick name |
realmId | Long | Tenant id |
realmName | String | Tenant Name |
tenantUserId | String | Tenant+UserID |
openid | String | Application+UserID |