POST api/Token/Login

Request Information

URI Parameters

None.

Body Parameters

LoginRequest
NameDescriptionTypeAdditional information
JsCode

string

None.

Brand

string

None.

Platform

string

None.

Model

string

None.

Appver

string

None.

Width

integer

None.

Height

integer

None.

MatchID

integer

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JsCode": "sample string 1",
  "Brand": "sample string 2",
  "Platform": "sample string 3",
  "Model": "sample string 4",
  "Appver": "sample string 5",
  "Width": 1,
  "Height": 1,
  "MatchID": 1,
  "Source": "sample string 6"
}

application/xml, text/xml

Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiToken.Models">
  <Appver>sample string 5</Appver>
  <Brand>sample string 2</Brand>
  <Height>1</Height>
  <JsCode>sample string 1</JsCode>
  <MatchID>1</MatchID>
  <Model>sample string 4</Model>
  <Platform>sample string 3</Platform>
  <Source>sample string 6</Source>
  <Width>1</Width>
</LoginRequest>

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

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.