PUT api/Content/v3/GetNotifications
Request Information
URI Parameters
None.
Body Parameters
NotificationRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
UniqueId | globally unique identifier |
None. |
|
UserUniqueId | integer |
None. |
|
PageNumber | integer |
None. |
|
DeviceTokenId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "UniqueId": "ec5b3aa4-dc9b-4626-9fee-4365e2ec7a6e", "UserUniqueId": 3, "PageNumber": 4, "DeviceTokenId": "sample string 5" }
application/xml, text/xml
Sample:
<NotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <DeviceTokenId>sample string 5</DeviceTokenId> <PageNumber>4</PageNumber> <UniqueId>ec5b3aa4-dc9b-4626-9fee-4365e2ec7a6e</UniqueId> <UserUniqueId>3</UserUniqueId> </NotificationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NotificationResponseName | Description | Type | Additional information |
---|---|---|---|
List | Collection of NotificationResponseList |
None. |
|
TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "List": [ { "Title": "sample string 1", "Description": "sample string 2", "EntityType": "sample string 3", "EntityId": 4, "SourceId": 5, "New": true }, { "Title": "sample string 1", "Description": "sample string 2", "EntityType": "sample string 3", "EntityId": 4, "SourceId": 5, "New": true } ], "TotalRecords": 1 }
application/xml, text/xml
Sample:
<NotificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <List> <NotificationResponseList> <Description>sample string 2</Description> <EntityId>4</EntityId> <EntityType>sample string 3</EntityType> <New>true</New> <SourceId>5</SourceId> <Title>sample string 1</Title> </NotificationResponseList> <NotificationResponseList> <Description>sample string 2</Description> <EntityId>4</EntityId> <EntityType>sample string 3</EntityType> <New>true</New> <SourceId>5</SourceId> <Title>sample string 1</Title> </NotificationResponseList> </List> <TotalRecords>1</TotalRecords> </NotificationResponse>