Method: accounts.priceAccuracyViews.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/priceAccuracyViews/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
要查詢價格準確度檢視的資源名稱。
|
查詢參數
參數 |
includeMatchedPrices |
boolean
如果相符價格要在報表中加入,請設為 true。
|
includePixels |
boolean
如果要在報表中加入像素信號,則設為 true。
|
includeNonScoring |
boolean
如果要在報表中加入非計分列,請設為 true。
|
回應主體
如果成功,回應主體會包含 PriceAccuracyView
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/travelpartner
詳情請參閱 OAuth 2.0 總覽。
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-08-23 (世界標準時間)。
[null,null,["上次更新時間:2022-08-23 (世界標準時間)。"],[[["\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)."]]