POST Notification/WebPush

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
Mid

None.

notification

None.

title

None.

body

None.

click_action

None.

icon

None.

device

None.

Request Formats

application/json, text/json

Sample:
{
  "Mid": [
    "sample string 1",
    "sample string 2"
  ],
  "notification": "sample string 1",
  "title": "sample string 2",
  "body": "sample string 3",
  "click_action": "sample string 4",
  "icon": "sample string 5",
  "device": 0
}

application/xml, text/xml

Sample:
<PushInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <Mid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Mid>
  <body>sample string 3</body>
  <click_action>sample string 4</click_action>
  <device>Desktop</device>
  <icon>sample string 5</icon>
  <notification>sample string 1</notification>
  <title>sample string 2</title>
</PushInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.