POST api/Token

Request Information

URI Parameters

None.

Body Parameters

Login
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

newpassword

string

None.

DeviceID

string

None.

pushID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "newpassword": "sample string 3",
  "DeviceID": "sample string 4",
  "pushID": "sample string 5"
}

text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Controllers">
  <DeviceID>sample string 4</DeviceID>
  <NewPassword>sample string 3</NewPassword>
  <Password>sample string 2</Password>
  <PushID>sample string 5</PushID>
  <Username>sample string 1</Username>
</Login>

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

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.