POST api/LiteAuth/ChangeTokens
20190402 以未过期的旧token换新的token
Request Information
URI Parameters
None.
Body Parameters
AuthLoginModelsName | Description | Type | Additional 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:
Response Information
Resource Description
20190402 以未过期的旧token换新的token
stringResponse 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>