POST api/PushNotificationRecords

Request Information

URI Parameters

None.

Body Parameters

PushNotificationRecordDTO
NameDescriptionTypeAdditional information
ActivityDateUTC

string

None.

FirstName

string

None.

LastName

string

None.

LinkedContentDescription

string

None.

MessageContent

string

None.

PushNotificationId

integer

None.

ServiceResponse

string

None.

SuccessfulTransmission

boolean

None.

Title

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActivityDateUTC": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "LinkedContentDescription": "sample string 4",
  "MessageContent": "sample string 5",
  "PushNotificationId": 1,
  "ServiceResponse": "sample string 6",
  "SuccessfulTransmission": true,
  "Title": "sample string 8",
  "UserName": "sample string 9"
}

application/xml, text/xml

Sample:
<PushNotificationRecordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO">
  <ActivityDateUTC>sample string 1</ActivityDateUTC>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <LinkedContentDescription>sample string 4</LinkedContentDescription>
  <MessageContent>sample string 5</MessageContent>
  <PushNotificationId>1</PushNotificationId>
  <ServiceResponse>sample string 6</ServiceResponse>
  <SuccessfulTransmission>true</SuccessfulTransmission>
  <Title>sample string 8</Title>
  <UserName>sample string 9</UserName>
</PushNotificationRecordDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PushNotificationRecordDTO'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.