Method: accounts.hotelViews.list

Returns the list of hotel views.

HTTP request

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

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}.

Query parameters

Parameters
pageSize

integer

Number of elements to retrieve in a single page.

pageToken

string

Token of the page to retrieve.

filter

string

Optional. The matchStatus field can be used to filter the list of hotel views returned for the account.

Examples of valid conditions and their syntax are as follows:

  • matchStatus = 'NOT_MATCHED'
  • matchStatus in ('NOT_MATCHED', 'MATCHED', 'MAP_OVERLAP')

Request body

The request body must be empty.

Response body

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

Response message for HotelViewService.ListHotelViews.

JSON representation
{
  "hotelViews": [
    {
      object (HotelView)
    }
  ],
  "nextPageToken": string
}
Fields
hotelViews[]

object (HotelView)

The list of rows that match the query.

nextPageToken

string

Pagination token used to retrieve the next page of results.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.