POST api/PushNotification

Request Information

URI Parameters

None.

Body Parameters

Collection of Pushnotification
NameDescriptionTypeAdditional information
notification

Notification

None.

to

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "notification": {
      "body": "sample string 1",
      "title": "sample string 2"
    },
    "to": "sample string 1"
  },
  {
    "notification": {
      "body": "sample string 1",
      "title": "sample string 2"
    },
    "to": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPushnotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <Pushnotification>
    <notification>
      <body>sample string 1</body>
      <title>sample string 2</title>
    </notification>
    <to>sample string 1</to>
  </Pushnotification>
  <Pushnotification>
    <notification>
      <body>sample string 1</body>
      <title>sample string 2</title>
    </notification>
    <to>sample string 1</to>
  </Pushnotification>
</ArrayOfPushnotification>

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 'List`1'.

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.