Method: accounts.priceAccuracyViews.get
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về thông tin chi tiết đầy đủ về mức độ chính xác về giá mà bạn yêu cầu.
Yêu cầu HTTP
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/priceAccuracyViews/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Tên tài nguyên của chế độ xem mức độ chính xác về giá đang được truy vấn.
|
Tham số truy vấn
Các tham số |
includeMatchedPrices |
boolean
Đặt thành true nếu giá đã khớp được thêm vào báo cáo.
|
includePixels |
boolean
Đặt thành true nếu tín hiệu pixel sẽ được thêm vào báo cáo.
|
includeNonScoring |
boolean
Đặt thành true nếu các hàng không có điểm số được thêm vào báo cáo.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của PriceAccuracyView
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/travelpartner
Để biết thêm thông tin, hãy xem Tổng quan về OAuth 2.0.
Mọi quyền được bảo lưu. Java là một nhãn hiệu đã đăng ký của Oracle và/hoặc chi nhánh của Oracle.
Cập nhật lần gần đây nhất: 2022-08-23 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)."]]