Method: accounts.priceViews.get

  • This API retrieves the full details of a requested price view using a GET request.

  • The request requires authorization using the https://www.googleapis.com/auth/travelpartner OAuth scope.

  • Users must provide the price view's resource name in the URL path, following the format accounts/{account_id}/priceViews/{partnerHotelId}.

  • The response, upon successful execution, delivers a PriceView object containing the detailed information.

  • This endpoint utilizes gRPC Transcoding for its URL structure.

Returns the requested price view in full detail.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of price view being queried. The format is accounts/{account_id}/priceViews/{partnerHotelId}.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.