POST api/Account/Refresh
Request Information
URI Parameters
None.
Body Parameters
RefreshAccountBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RefreshToken | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"refreshToken": "sample string 1"
}
application/xml, text/xml
Sample:
<RefreshAccountBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LindsayOne.Api.Models"> <RefreshToken>sample string 1</RefreshToken> </RefreshAccountBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| expires_in | string |
None. |
|
| token_type | string |
None. |
|
| refresh_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"expires_in": "sample string 2",
"token_type": "sample string 3",
"refresh_token": "sample string 4"
}
application/xml, text/xml
Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LindsayOne.Api.Controllers"> <access_token>sample string 1</access_token> <expires_in>sample string 2</expires_in> <refresh_token>sample string 4</refresh_token> <token_type>sample string 3</token_type> </TokenResponse>