POST api/SocialDriver/Notification

Send a notification back

Request Information

URI Parameters

None.

Body Parameters

The notification to be sent back

CreateNotificationRequest
NameDescriptionTypeAdditional information
MessageTitle

The notification title

string

None.

MessageBody

The notification body

string

None.

MessagePriority

The message priority Normal = 0, High = 1

integer

None.

MessageType

The message type Information = 0, Promotion = 1

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageTitle": "sample string 1",
  "MessageBody": "sample string 2",
  "MessagePriority": 3,
  "MessageType": 4
}

application/xml, text/xml

Sample:
<CreateNotificationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageTitle>sample string 1</MessageTitle>
  <MessageBody>sample string 2</MessageBody>
  <MessagePriority>3</MessagePriority>
  <MessageType>4</MessageType>
</CreateNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.