POST api/v2/account/refreshtoken

Request Information

URI Parameters

None.

Body Parameters

AccessTokenBindingModel
NameDescriptionTypeAdditional information
AccessTokenOld

string

None.

AccessTokenRefresh

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccessTokenOld": "sample string 1",
  "AccessTokenRefresh": "sample string 2"
}

application/xml, text/xml

Sample:
<AccessTokenBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels">
  <AccessTokenOld>sample string 1</AccessTokenOld>
  <AccessTokenRefresh>sample string 2</AccessTokenRefresh>
</AccessTokenBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginResult
NameDescriptionTypeAdditional information
AccessToken

string

None.

RefreshAccessToken

string

None.

TokenType

string

None.

Expires

date

None.

ErrorCode

integer

None.

ClienteId

integer

None.

Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "RefreshAccessToken": "sample string 2",
  "TokenType": "sample string 3",
  "Expires": "2024-11-21T08:42:50.8590439+00:00",
  "ErrorCode": 5,
  "ClienteId": 6,
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded>
  <AccessToken>sample string 1</AccessToken>
  <ErrorCode>5</ErrorCode>
  <Expires xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:42:50.8590439Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Expires>
  <RefreshAccessToken>sample string 2</RefreshAccessToken>
  <TokenType>sample string 3</TokenType>
</LoginResult>