Method: accounts.reconciliationReports.create

  • Creates a reconciliation report and uploads it to Google using a POST request to https://travelpartner.googleapis.com/v3/{parent=accounts/*}/reconciliationReports.

  • The request body must contain a ReconciliationReport object, specifying the reconciliation data.

  • A successful response includes the newly created report details, the count of successfully saved records, and any validation issues encountered.

  • Authorization requires the https://www.googleapis.com/auth/travelpartner OAuth scope.

Creates a reconciliation report and uploads it to Google.

HTTP request

POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/reconciliationReports

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.CreateReconciliationReport.

If successful, the response body contains data with the following structure:

JSON representation
{
  "reconciliationReport": {
    object (ReconciliationReport)
  },
  "successfulRecordCount": integer,
  "issues": [
    {
      object (ReconciliationReportValidationIssue)
    }
  ]
}
Fields
reconciliationReport

object (ReconciliationReport)

Resource name of the new reconciliation report. The format is accounts/{account_id}.

successfulRecordCount

integer

The number of commission records that were successfully saved.

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.