POST V3/odata/OAuthUser({key})/RefreshAccessToken2

Refreshes AccessToken on specified OAuthUser entity returning also ExpiresIn as additional information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

OAuthUserId from OAuthUser entity

integer

Required

Body Parameters

None.

Response Information

Resource Description

New AccessToken along with ExpiresIn

QicsUnity.Api.Areas.V3.Models.RefreshAccessTokenResult
NameDescriptionTypeAdditional information
AccessToken

Gets or sets the new access token.

string

None.

AccessTokenExpiresIn

Gets or sets the number of seconds until the access token expires.

unsigned integer

16-bit unsigned integer

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample 1",
  "AccessTokenExpiresIn": "2"
}

application/xml, text/xml

Sample:
<RefreshAccessTokenResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <AccessToken>sample 1</AccessToken>
  <AccessTokenExpiresIn>2</AccessTokenExpiresIn>
</RefreshAccessTokenResult>