GET api/consumer/v1/users/{userId}/notifications
Get the notification settings
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
userId |
integer |
Required |
Body Parameters
None
Response Information
Resource Description
The settings
Collection of UserSettingDtoName | Description | Type | Additional information |
---|---|---|---|
User |
User |
UserMinDto |
None |
Key |
The key |
string |
None |
Value |
The value |
string |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "User": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Key": "sample string 1", "Value": "sample string 2", "Id": 3 }, { "User": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Key": "sample string 1", "Value": "sample string 2", "Id": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfUserSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <UserSettingDto> <Id>3</Id> <Key>sample string 1</Key> <User> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </User> <Value>sample string 2</Value> </UserSettingDto> <UserSettingDto> <Id>3</Id> <Key>sample string 1</Key> <User> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </User> <Value>sample string 2</Value> </UserSettingDto> </ArrayOfUserSettingDto>