POST api/Account/RegisterPushToken

Request Information

URI Parameters

None.

Body Parameters

RegisterPushTokenModel
NameDescriptionTypeAdditional information
Token

string

Required

String length: inclusive between 0 and 200

Platform

string

String length: inclusive between 0 and 10

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Platform": "sample string 2"
}

application/xml, text/xml

Sample:
<RegisterPushTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Noteinator_API.Models">
  <Platform>sample string 2</Platform>
  <Token>sample string 1</Token>
</RegisterPushTokenModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.