Method: accounts.reconciliationReports.create

  • The accounts.reconciliationReports.create method creates and uploads a reconciliation report to Google.

  • The HTTP request uses a POST method to the specified travelpartner.googleapis.com endpoint.

  • The path parameter parent is a string representing the resource name of the account.

  • The request body requires an instance of ReconciliationReport.

  • The response body indicates a successful creation by including the reconciliation report object, successful record count, and any validation issues.

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