Method: accounts.priceCoverageViews.list

  • This document details the HTTP request, path parameters, request body, response body, and authorization scopes for returning the entire price coverage history.

  • The HTTP request is a GET method to the specified travel partner API endpoint.

  • The request requires a parent path parameter identifying the account being queried.

  • The request body must be empty, and the response body contains a list of price coverage views.

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

Returns the entire price coverage history.

HTTP request

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

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 PriceCoverageViewService.ListPriceCoverageViews.

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

JSON representation
{
  "priceCoverageViews": [
    {
      object (PriceCoverageView)
    }
  ]
}
Fields
priceCoverageViews[]

object (PriceCoverageView)

Hotel price coverage stats.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.