POST api/Notificacion/NotificationData

Request Information

URI Parameters

None.

Body Parameters

DTONotificationData
NameDescriptionTypeAdditional information
deviceToken

string

None.

title

string

None.

body

string

None.

data

Dictionary of string [key] and string [value]

None.

tokenSecurity

string

None.

Request Formats

application/json, text/json

Sample:
{
  "deviceToken": "sample string 1",
  "title": "sample string 2",
  "body": "sample string 3",
  "data": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "tokenSecurity": "sample string 4"
}

text/html

Sample:
{"deviceToken":"sample string 1","title":"sample string 2","body":"sample string 3","data":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"tokenSecurity":"sample string 4"}

application/xml, text/xml

Sample:
<DTONotificationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Framework.DTO">
  <body>sample string 3</body>
  <data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </data>
  <deviceToken>sample string 1</deviceToken>
  <title>sample string 2</title>
  <tokenSecurity>sample string 4</tokenSecurity>
</DTONotificationData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Operation
NameDescriptionTypeAdditional information
OperationStatus

integer

None.

OperationCode

integer

None.

OperationMessage

OperationMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "OperationStatus": 1,
  "OperationCode": 2,
  "OperationMessage": null
}

text/html

Sample:
{"OperationStatus":1,"OperationCode":2,"OperationMessage":null}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.