Method: accounts.reconciliationReports.validate

  • The accounts.reconciliationReports.validate method validates a reconciliation report using a POST request to the specified URL.

  • The request requires a parent path parameter specifying the account resource name in the format accounts/{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 of issues.

  • This method requires the https://www.googleapis.com/auth/travelpartner OAuth 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

string

The resource name of the account being queried. The format is accounts/{account_id}.

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 (ReconciliationReportValidationIssue)
    }
  ]
}
Fields
successfulRecordCount

integer

The number of commission records that were successfully validated.

issues[]

object (ReconciliationReportValidationIssue)

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.