POST FCMLibrary/SendNotificationTest

Request Information

URI Parameters

None.

Body Parameters

PushNotificationProp
NameDescriptionTypeAdditional information
FCMToken

string

None.

FCMTokenList

Collection of string

None.

Message

string

None.

Title

string

None.

MsgURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FCMToken": "sample string 1",
  "FCMTokenList": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 2",
  "Title": "sample string 3",
  "MsgURL": "sample string 4"
}

text/html

Sample:
{"FCMToken":"sample string 1","FCMTokenList":["sample string 1","sample string 2"],"Message":"sample string 2","Title":"sample string 3","MsgURL":"sample string 4"}

application/xml, text/xml

Sample:
<PushNotificationProp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClaimManagementAPI.Models">
  <FCMToken>sample string 1</FCMToken>
  <FCMTokenList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </FCMTokenList>
  <Message>sample string 2</Message>
  <MsgURL>sample string 4</MsgURL>
  <Title>sample string 3</Title>
</PushNotificationProp>

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 'PushNotificationProp'.

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.