Method: accounts.priceAccuracyViews.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca pełny widok dokładnej ceny.
Żądanie HTTP
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/priceAccuracyViews/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasobu widoku dokładnej ceny.
|
Parametry zapytania
Parametry |
includeMatchedPrices |
boolean
Ustaw wartość „true”, jeśli chcesz dodać do raportu pasujące ceny.
|
includePixels |
boolean
Ustaw wartość „true”, jeśli chcesz dodać do raportu sygnały piksela.
|
includeNonScoring |
boolean
Ustaw wartość „true”, jeśli chcesz dodać do raportu wiersze bez oceny.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu PriceAccuracyView
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/travelpartner
Więcej informacji znajdziesz w artykule Omówienie OAuth 2.0.
Wszelkie prawa zastrzeżone. Java jest zastrzeżonym znakiem towarowym firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-08-23 UTC.
[null,null,["Ostatnia aktualizacja: 2022-08-23 UTC."],[[["\u003cp\u003eRetrieves a detailed price accuracy view for a specified account using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the report to include matched prices, pixel signals, and non-scoring rows through query parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a PriceAccuracyView object in the response.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.priceAccuracyViews.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nReturns the requested price accuracy view in full detail.\n\n### HTTP request\n\n`GET https://travelpartner.googleapis.com/v3/{name=accounts/*/priceAccuracyViews/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------|\n| `name` | `string` The resource name of price accuracy view that is being queried. |\n\n### Query parameters\n\n| Parameters ||\n|------------------------|----------------------------------------------------------------------------|\n| `includeMatchedPrices` | `boolean` Set to true if matched prices are to be added into the report. |\n| `includePixels` | `boolean` Set to true if pixel signals are to be added into the report. |\n| `includeNonScoring` | `boolean` Set to true if non-scoring rows are to be added into the report. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [PriceAccuracyView](/hotels/hotel-prices/api-reference/rest/v3/accounts.priceAccuracyViews#PriceAccuracyView).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/travelpartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]