POST account/refresh

Token refresh.

Request Information

URI

https://ofd-api.blueprintcpq.net/account/refresh?refreshToken={refreshToken}&mode={mode}&connection={connection}

URI Parameters

NameDescriptionTypeAdditional information
refreshToken

The users refresh token.

globally unique identifier

Required

mode

The mode.

IntegrationType

None.

connection

The connection id.

string

None.

Body Parameters

The refreshed token.

RefreshToken
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

text/html

Sample:
{"Token":"sample string 1"}

application/xml, text/xml

Sample:
<RefreshToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.Authentication">
  <Token>sample string 1</Token>
</RefreshToken>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A Task<IDictionary<string,string>>

Dictionary of string [key] and string [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

text/html

Sample:
{"sample string 1":"sample string 2","sample string 3":"sample string 4"}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>