GET api/Users/Notifications/News/{notificationid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
notificationid

integer

Required

Body Parameters

None.

Response Information

Resource Description

NewsNotification
NameDescriptionTypeAdditional information
GeneralNotificationID

integer

None.

Notification

GeneralNotification

None.

Message

string

Required

Max length: 1000

Min length: 10

Link

string

Max length: 250

Min length: 10

Response Formats

application/json, text/json

Sample:
{
  "GeneralNotificationID": 1,
  "Notification": {
    "GeneralNotificationID": 1,
    "Date": "2018-06-22T23:05:16.0158094-07:00",
    "TypeID": 3,
    "Title": "sample string 4"
  },
  "Message": "sample string 2",
  "Link": "sample string 3"
}

application/xml, text/xml

Sample:
<NewsNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <GeneralNotificationID>1</GeneralNotificationID>
  <Link>sample string 3</Link>
  <Message>sample string 2</Message>
  <Notification>
    <Date xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2018-06-23T06:05:16.0158094Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-420</d3p1:OffsetMinutes>
    </Date>
    <GeneralNotificationID>1</GeneralNotificationID>
    <Title>sample string 4</Title>
    <TypeID>3</TypeID>
  </Notification>
</NewsNotification>