POST api/push/send

Request Information

URI Parameters

None.

Body Parameters

SendPushRequest
NameDescriptionTypeAdditional information
Title

string

None.

Body

string

None.

Tag

string

None.

UserId

integer

None.

NotificationId

integer

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Body": "sample string 2",
  "Tag": "sample string 3",
  "UserId": 1,
  "NotificationId": 1,
  "Type": "sample string 4"
}

application/xml, text/xml

Sample:
<SendPushRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Body>sample string 2</Body>
  <NotificationId>1</NotificationId>
  <Tag>sample string 3</Tag>
  <Title>sample string 1</Title>
  <Type>sample string 4</Type>
  <UserId>1</UserId>
</SendPushRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.