POST Account/CheckAuthorization?UserName={UserName}&Password={Password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserName

string

Required

Password

string

Required

Body Parameters

None.

Response Information

Resource Description

AccessTokenDoc
NameDescriptionTypeAdditional information
success_falg

boolean

None.

descripiton_text

string

None.

access_token

string

None.

token_type

string

None.

username

string

None.

expires_in

string

None.

issued

string

None.

expires

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success_falg": true,
  "descripiton_text": "sample string 2",
  "access_token": "sample string 3",
  "token_type": "sample string 4",
  "username": "sample string 5",
  "expires_in": "sample string 6",
  "issued": "sample string 7",
  "expires": "sample string 8"
}

application/xml, text/xml

Sample:
<AccessTokenDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GZFWebService.Models">
  <access_token>sample string 3</access_token>
  <descripiton_text>sample string 2</descripiton_text>
  <expires>sample string 8</expires>
  <expires_in>sample string 6</expires_in>
  <issued>sample string 7</issued>
  <success_falg>true</success_falg>
  <token_type>sample string 4</token_type>
  <username>sample string 5</username>
</AccessTokenDoc>