POST api/LiteAuth/ChangeTokens

20190402 以未过期的旧token换新的token

Request Information

URI Parameters

None.

Body Parameters

AuthLoginModels
NameDescriptionTypeAdditional information
userName

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<AuthLoginModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPIAuth.Model">
  <password>sample string 2</password>
  <userName>sample string 1</userName>
</AuthLoginModels>

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

Response Information

Resource Description

20190402 以未过期的旧token换新的token

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>