PUT api/Content/v2/GetNotifications

Request Information

URI Parameters

None.

Body Parameters

NotificationRequest
NameDescriptionTypeAdditional 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": "c2f07227-d289-4fb7-9a5d-0b1e90f3b277",
  "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>c2f07227-d289-4fb7-9a5d-0b1e90f3b277</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</NotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificationResponse
NameDescriptionTypeAdditional 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>