AI-generated Key Takeaways
-
The
accounts.reconciliationReports.validatemethod validates a reconciliation report using a POST request to the specified URL. -
The request requires a
parentpath parameter specifying the account resource name in the formataccounts/{account_id}. -
The request body should contain an instance of
ReconciliationReport. -
The response body, if successful, includes
successfulRecordCount(number of successfully validated records) and an optional array ofissues. -
This method requires the
https://www.googleapis.com/auth/travelpartnerOAuth scope for authorization.
Validates a reconciliation report.
HTTP request
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/reconciliationReports:validate
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
The resource name of the account being queried. The format is |
Request body
The request body contains an instance of ReconciliationReport.
Response body
Response message for ReconciliationReportService.ValidateReconciliationReport.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"successfulRecordCount": integer,
"issues": [
{
object ( |
| Fields | |
|---|---|
successfulRecordCount |
The number of commission records that were successfully validated. |
issues[] |
Issues that were encountered when validating the file. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.