POST api/Cyclist/SendPushNotification

Saves a key value pair entry for this cyclist, which can be used to store user preferences

Request Information

URI Parameters

None.

Body Parameters

CyclistSendPushNotification
NameDescriptionTypeAdditional information
CyclistID

integer

None.

Title

string

None.

Message

string

None.

TagName

string

None.

TagData

string

None.

PartnerID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CyclistID": 1,
  "Title": "sample string 2",
  "Message": "sample string 3",
  "TagName": "sample string 4",
  "TagData": "sample string 5",
  "PartnerID": 6
}

application/xml, text/xml

Sample:
<CyclistSendPushNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO">
  <CyclistID>1</CyclistID>
  <Message>sample string 3</Message>
  <PartnerID>6</PartnerID>
  <TagData>sample string 5</TagData>
  <TagName>sample string 4</TagName>
  <Title>sample string 2</Title>
</CyclistSendPushNotification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>