Method: accounts.accountLinks.list

  • This document outlines how to retrieve account links for a Hotel Center account using a GET request.

  • The request uses a path parameter parent to specify the target account, while the request body must be empty.

  • The successful response contains a list of AccountLink objects within the accountLinks field.

  • Accessing this information requires the https://www.googleapis.com/auth/travelpartner OAuth scope.

Returns the account links for a Hotel Center account.

HTTP request

GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The resource name of the account being queried. The format is accounts/{account_id} .

Request body

The request body must be empty.

Response body

Response message for AccountLinkService.ListAccountLinks .

If successful, the response body contains data with the following structure:

JSON representation
 { 
 "accountLinks" 
 : 
 [ 
 { 
 object (  AccountLink 
 
) 
 } 
 ] 
 } 
Fields

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/travelpartner

For more information, see the OAuth 2.0 Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: