Method: accounts.accountLinks.get

  • This API retrieves the details of a specific AccountLink resource using its unique name.

  • You need to provide the AccountLink resource name in the URL path, structured as accounts/{account_id}/accountLinks/{account_link_id}.

  • The request body should be empty, and a successful response will return an AccountLink object with the requested details.

  • Authorization requires the https://www.googleapis.com/auth/travelpartner OAuth scope.

Returns the AccountLink instance associated with the account link resource name specified in the request URL. To get account link resource names, use the list method.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of an account link. The format is accounts/{account_id}/accountLinks/{account_link_id}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AccountLink.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.