GET api/consumer/v1/users/warnings
Get all user's warning
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
The Warnings
UserWarningDtoName | Description | Type | Additional information |
---|---|---|---|
TotalUnreadEvents | integer |
None |
|
Items | Collection of UserWarningItemDto |
None |
Response Formats
application/json, text/json
Sample:
{ "TotalUnreadEvents": 1, "Items": [ { "SubjectUserId": 1, "SubjectUserName": "sample string 2", "SubjectUserAvatar": "sample string 3", "SubjectUserEmail": "sample string 4", "Message": "sample string 5", "WarningType": "sample string 6" }, { "SubjectUserId": 1, "SubjectUserName": "sample string 2", "SubjectUserAvatar": "sample string 3", "SubjectUserEmail": "sample string 4", "Message": "sample string 5", "WarningType": "sample string 6" } ] }
application/xml, text/xml
Sample:
<UserWarningDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Items> <UserWarningItemDto> <Message>sample string 5</Message> <SubjectUserAvatar>sample string 3</SubjectUserAvatar> <SubjectUserEmail>sample string 4</SubjectUserEmail> <SubjectUserId>1</SubjectUserId> <SubjectUserName>sample string 2</SubjectUserName> <WarningType>sample string 6</WarningType> </UserWarningItemDto> <UserWarningItemDto> <Message>sample string 5</Message> <SubjectUserAvatar>sample string 3</SubjectUserAvatar> <SubjectUserEmail>sample string 4</SubjectUserEmail> <SubjectUserId>1</SubjectUserId> <SubjectUserName>sample string 2</SubjectUserName> <WarningType>sample string 6</WarningType> </UserWarningItemDto> </Items> <TotalUnreadEvents>1</TotalUnreadEvents> </UserWarningDto>