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>6cb22f83-713e-410c-b556-7656abba0458</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>394a73af-c47e-459d-bfd0-5d160672a049</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
<GetUserInstitutionsResponse>
<InstitutionNumber>sample string 3</InstitutionNumber>
<RoleId>6cb22f83-713e-410c-b556-7656abba0458</RoleId>
<RoleName>sample string 4</RoleName>
<UserGroupId>394a73af-c47e-459d-bfd0-5d160672a049</UserGroupId>
<UserGroupName>sample string 2</UserGroupName>
</GetUserInstitutionsResponse>
</ArrayOfGetUserInstitutionsResponse>
application/json, text/json
Sample:
[
{
"UserGroupId": "394a73af-c47e-459d-bfd0-5d160672a049",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "6cb22f83-713e-410c-b556-7656abba0458"
},
{
"UserGroupId": "394a73af-c47e-459d-bfd0-5d160672a049",
"UserGroupName": "sample string 2",
"InstitutionNumber": "sample string 3",
"RoleName": "sample string 4",
"RoleId": "6cb22f83-713e-410c-b556-7656abba0458"
}
]