POST api/Security/RefreshSession

Request Information

URI Parameters

None.

Body Parameters

TokenRefreshInput
NameDescriptionTypeAdditional information
SessionKey

globally unique identifier

Required

RefreshToken

string

Required

RefreshKey

string

Required

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "d84c7812-d7c8-4db8-9fbc-bb5d8005ffea",
  "RefreshToken": "sample string 2",
  "RefreshKey": "sample string 3"
}

application/xml, text/xml

Sample:
<TokenRefreshInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models">
  <RefreshKey>sample string 3</RefreshKey>
  <RefreshToken>sample string 2</RefreshToken>
  <SessionKey>d84c7812-d7c8-4db8-9fbc-bb5d8005ffea</SessionKey>
</TokenRefreshInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RefreshedUserModel
NameDescriptionTypeAdditional information
IsAuthenticated

boolean

None.

AuthenticationToken

string

None.

RefreshToken

string

None.

SessionId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsAuthenticated": true,
  "AuthenticationToken": "sample string 2",
  "RefreshToken": "sample string 3",
  "SessionId": "sample string 4"
}

application/xml, text/xml

Sample:
<RefreshedUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.Base.WebAPI.Models">
  <AuthenticationToken>sample string 2</AuthenticationToken>
  <IsAuthenticated>true</IsAuthenticated>
  <RefreshToken>sample string 3</RefreshToken>
  <SessionId>sample string 4</SessionId>
</RefreshedUserModel>