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>fd3a96a3-72e2-4ea2-90f8-aa44ed2171ff</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>4c7bde41-3804-4ffd-a4b6-5df6b455309e</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
<GetUserInstitutionsResponse>
<InstitutionNumber>sample string 3</InstitutionNumber>
<RoleId>fd3a96a3-72e2-4ea2-90f8-aa44ed2171ff</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>4c7bde41-3804-4ffd-a4b6-5df6b455309e</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
</ArrayOfGetUserInstitutionsResponse>
application/json, text/json
Sample:
[
{
"UserGroupId": "4c7bde41-3804-4ffd-a4b6-5df6b455309e",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "fd3a96a3-72e2-4ea2-90f8-aa44ed2171ff"
},
{
"UserGroupId": "4c7bde41-3804-4ffd-a4b6-5df6b455309e",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "fd3a96a3-72e2-4ea2-90f8-aa44ed2171ff"
}
]