GET api/Google/{id}?CustomerCode={CustomerCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| CustomerCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Token| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| token_type | string |
None. |
|
| expires_in | string |
None. |
|
| refresh_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"token_type": "sample string 2",
"expires_in": "sample string 3",
"refresh_token": "sample string 4"
}
application/xml, text/xml
Sample:
<GoogleController.Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SM.CentralService.Controllers.google"> <access_token>sample string 1</access_token> <expires_in>sample string 3</expires_in> <refresh_token>sample string 4</refresh_token> <token_type>sample string 2</token_type> </GoogleController.Token>