1
是否有任何REST Api調用根據用戶標識或用戶email_id獲取組名列表?在DocuSign REST API中獲取用戶標識所屬的組列表
是否有任何REST Api調用根據用戶標識或用戶email_id獲取組名列表?在DocuSign REST API中獲取用戶標識所屬的組列表
GET https://{{server}}.docusign.net/restapi/v2/accounts/{{accountId}}/users/{{userId}}?additional_info=true
此調用將提取所有用戶的詳細信息。在body響應中,節點「groupList」將包含用戶所屬。
樣品的回覆:
{
"userName": "sample string 1",
"userId": "sample string 2",
"userType": "sample string 3",
"isAdmin": "sample string 4",
"userStatus": "sample string 5",
"uri": "sample string 6",
"email": "sample string 7",
"password": "sample string 8",
"title": "sample string 9",
"createdDateTime": "sample string 10",
"firstName": "sample string 11",
"middleName": "sample string 12",
"lastName": "sample string 13",
"suffixName": "sample string 14",
"userSettings": [
{
"name": "sample string 1",
"value": "sample string 2",
"errorDetails": {
"errorCode": "sample string 1",
"message": "sample string 2"
}
}
],
"sendActivationOnInvalidLogin": "sample string 15",
"activationAccessCode": "sample string 16",
"enableConnectForUser": "sample string 17",
"forgottenPasswordInfo": {
"forgottenPasswordQuestion1": "sample string 1",
"forgottenPasswordAnswer1": "sample string 2",
"forgottenPasswordQuestion2": "sample string 3",
"forgottenPasswordAnswer2": "sample string 4",
"forgottenPasswordQuestion3": "sample string 5",
"forgottenPasswordAnswer3": "sample string 6",
"forgottenPasswordQuestion4": "sample string 7",
"forgottenPasswordAnswer4": "sample string 8"
},
"groupList": [
{
"groupId": "sample string 1",
"groupName": "sample string 2",
"permissionProfileId": "sample string 3",
"groupType": "sample string 4",
"users": [
{
"userName": "sample string 1",
"email": "sample string 2",
"userId": "sample string 3",
"userType": "sample string 4",
"userStatus": "sample string 5",
"uri": "sample string 6",
"errorDetails": {
"errorCode": "SUCCESS",
"message": ""
}
}
],
"errorDetails": {
"errorCode": "SUCCESS",
"message": ""
}
}
],
"workAddress": {
"address1": "sample string 1",
"address2": "sample string 2",
"city": "sample string 3",
"stateOrProvince": "sample string 4",
"postalCode": "sample string 5",
"phone": "sample string 6",
"fax": "sample string 7",
"country": "sample string 8"
},
"homeAddress": {},
"loginStatus": "sample string 18",
"passwordExpiration": "sample string 19",
"lastLogin": "sample string 20",
"errorDetails": {
"errorCode": "SUCCESS",
"message": ""
},
"customSettings": [
{}
],
"profileImageUri": "sample string 21",
"userProfileLastModifiedDate": "sample string 22",
"signatureImageUri": "sample string 23",
"initialsImageUri": "sample string 24"
}
你可以在短暫的什麼呼叫做解釋,鏈接可以非常容易地去死。 – Dheeraj