GET api/UserPreference/GetAllUserPreferences?userEmail={userEmail}
Retrieves user preferences for the specified email address.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userEmail |
The email address of the user. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
An UserPreferenceUserDto object
Collection of UserPreferenceUserDtoName | Description | Type | Additional information |
---|---|---|---|
PreferenceName | string |
None. |
|
PreferenceValue | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PreferenceName": "sample string 1", "PreferenceValue": "sample string 2" }, { "PreferenceName": "sample string 1", "PreferenceValue": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfUserPreferenceUserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.User"> <UserPreferenceUserDto> <PreferenceName>sample string 1</PreferenceName> <PreferenceValue>sample string 2</PreferenceValue> </UserPreferenceUserDto> <UserPreferenceUserDto> <PreferenceName>sample string 1</PreferenceName> <PreferenceValue>sample string 2</PreferenceValue> </UserPreferenceUserDto> </ArrayOfUserPreferenceUserDto>