GET api/GoogleContatos/AtualizarToken?clientId={clientId}&clientSecret={clientSecret}&refreshToken={refreshToken}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

string

Required

clientSecret

string

Required

refreshToken

string

Required

Body Parameters

None.

Response Information

Resource Description

GoogleToken
NameDescriptionTypeAdditional information
access_token

string

None.

expires_in

integer

None.

scope

string

None.

token_type

string

None.

Response Formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "expires_in": 2,
  "scope": "sample string 3",
  "token_type": "sample string 4"
}

application/xml, text/xml

Sample:
<GoogleToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MakroArquivosAPI.Classes.Google">
  <access_token>sample string 1</access_token>
  <expires_in>2</expires_in>
  <scope>sample string 3</scope>
  <token_type>sample string 4</token_type>
</GoogleToken>