POST api/News

Request Information

URI Parameters

None.

Body Parameters

NewsNotificationRequest
NameDescriptionTypeAdditional information
GeneralNotificationID

integer

None.

Title

string

None.

Message

string

None.

UserID

integer

None.

Link

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GeneralNotificationID": 1,
  "Title": "sample string 2",
  "Message": "sample string 3",
  "UserID": 4,
  "Link": "sample string 5"
}

application/xml, text/xml

Sample:
<NewsNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Controllers">
  <GeneralNotificationID>1</GeneralNotificationID>
  <Link>sample string 5</Link>
  <Message>sample string 3</Message>
  <Title>sample string 2</Title>
  <UserID>4</UserID>
</NewsNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>