AI-generated Key Takeaways
-
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 theaccountLinks
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 |
The resource name of the account being queried. The format is |
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 ( |
Fields | |
---|---|
accountLinks[] |
A list of all account links associated with the Hotel Center account being queried. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.