GET api/user/institutions?userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetUserInstitutionsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| UserGroupId | globally unique identifier |
None. |
|
| UserGroupName | string |
None. |
|
| InstitutionNumber | string |
None. |
|
| RoleName | string |
None. |
|
| RoleId | globally unique identifier |
None. |
Response Formats
application/xml, text/xml
Sample:
<ArrayOfGetUserInstitutionsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.User">
<GetUserInstitutionsResponse>
<InstitutionNumber>sample string 3</InstitutionNumber>
<RoleId>cb5d274d-73a1-42b5-b141-4dbfa862a7e5</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>ad3c58d8-1de0-4f41-874e-b93d0868486d</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
<GetUserInstitutionsResponse>
<InstitutionNumber>sample string 3</InstitutionNumber>
<RoleId>cb5d274d-73a1-42b5-b141-4dbfa862a7e5</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>ad3c58d8-1de0-4f41-874e-b93d0868486d</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
</ArrayOfGetUserInstitutionsResponse>
application/json, text/json
Sample:
[
{
"UserGroupId": "ad3c58d8-1de0-4f41-874e-b93d0868486d",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "cb5d274d-73a1-42b5-b141-4dbfa862a7e5"
},
{
"UserGroupId": "ad3c58d8-1de0-4f41-874e-b93d0868486d",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "cb5d274d-73a1-42b5-b141-4dbfa862a7e5"
}
]