PUT api/Content/v3/GetNotifications
Request Information
URI Parameters
None.
Body Parameters
NotificationRequest| Name | 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": "60688525-638c-4ded-ad0b-7a20c1d35593",
"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>60688525-638c-4ded-ad0b-7a20c1d35593</UniqueId> <UserUniqueId>3</UserUniqueId> </NotificationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NotificationResponse| Name | 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>