Method: accounts.priceAccuracyViews.summarize

Returns the price accuracy summary.

HTTP request

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

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

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

Response message for PriceAccuracyViewService.SummarizePriceAccuracy.

JSON representation
{
  "currentScore": enum (PriceAccuracyState),
  "updateTime": string,
  "predictedScore": enum (PriceAccuracyState)
}
Fields
currentScore

enum (PriceAccuracyState)

The current price accuracy score.

updateTime

string (Timestamp format)

The update timestamp for the current score.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

predictedScore

enum (PriceAccuracyState)

The predicted price accuracy score.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

PriceAccuracyState

Enumerates supported price accuracy states.

Enums
PRICE_ACCURACY_STATE_UNSPECIFIED Not specified.
PRICE_ACCURACY_STATE_UNKNOWN The value is unknown in this version.
EXCELLENT Average score exceeds the positioning threshold.
GOOD Average score is slightly below the positioning threshold.
POOR Average score is well below the positioning threshold.
AT_RISK Average score is close to the account suspension threshold.
FAILED Average score is below the account suspension threshold.