Method: accounts.reconciliationReports.list
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ề danh sách tên của các báo cáo đối chiếu đã tạo.
Yêu cầu HTTP
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/reconciliationReports
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
parent |
string
Tên tài nguyên của tài khoản đang được truy vấn. Định dạng là accounts/{account_id} .
|
Tham số truy vấn
Các tham số |
startDate |
string
Bắt đầu phạm vi ngày để tìm nạp tệp. Định dạng là yyyy-MM-dd[THH[:mm[:SS]]]. Nếu trống, báo cáo từ đầu thời gian trở đi sẽ được tìm nạp.
|
endDate |
string
Kết thúc phạm vi ngày để tìm nạp tệp. Định dạng là yyyy-mm-dd[THH[:MM[:SS]]]. Nếu trống, hãy báo cáo cho đến khi kết thúc thời gian tìm nạp.
|
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, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Các trường |
reconciliationReports[] |
object (ReconciliationReport )
Danh sách tên của báo cáo đối chiếu. Lưu ý rằng các trường contents và fileName của mỗi đối tượng ReconciliationReport không được lệnh gọi này trả về.
|
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-30 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2022-08-30 UTC."],[[["\u003cp\u003eRetrieves a list of reconciliation report names for a specified account within a given date range.\u003c/p\u003e\n"],["\u003cp\u003eRequest must be a GET request to the specified endpoint with account ID in the path.\u003c/p\u003e\n"],["\u003cp\u003eStart and end dates for filtering reports can be provided as query parameters.\u003c/p\u003e\n"],["\u003cp\u003eResponse includes an array of reconciliation report names, excluding content and file name details.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.reconciliationReports.list\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 - [JSON representation](#body.ListReconciliationReportsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns a list of the names of created reconciliation reports.\n\n### HTTP request\n\n`GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/reconciliationReports`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------|\n| `parent` | `string` The resource name of the account being queried. The format is `accounts/{account_id}`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startDate` | `string` Beginning of date range to fetch files for. Format is yyyy-MM-dd\\[THH\\[:mm\\[:SS\\]\\]\\]. If empty, reports from the beginning of time onwards are fetched. |\n| `endDate` | `string` End of date range to fetch files for. Format is yyyy-mm-dd\\[THH\\[:MM\\[:SS\\]\\]\\]. If empty, reports until the end of time are fetched. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [ReconciliationReportService.ListReconciliationReports](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports/list#google.travel.travelpartner.v3.ReconciliationReportService.ListReconciliationReports).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"reconciliationReports\": [ { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports#ReconciliationReport) } ] } ``` |\n\n| Fields ||\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `reconciliationReports[]` | `object (`[ReconciliationReport](/hotels/hotel-prices/api-reference/rest/v3/accounts.reconciliationReports#ReconciliationReport)`)` The list of names of reconciliation reports. Note that the `contents` and `fileName` fields of each `ReconciliationReport` object are not returned by this call. |\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)."]]