Method: accounts.reconciliationReports.create

יוצר דוח התאמה ומעלה אותו אל Google.

בקשת HTTP

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

כתובת ה-URL כתובה בתחביר של gRPC Transcoding.

פרמטרים של נתיב

פרמטרים
parent

string

שם המשאב של החשבון שעליו מתבצעת השאילתה. הפורמט הוא accounts/{account_id}.

גוף הבקשה

גוף הבקשה מכיל מופע של ReconciliationReport.

גוף התשובה

הודעת תגובה לReconciliationReportService.CreateReconciliationReport.

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:

ייצוג ב-JSON
{
  "reconciliationReport": {
    object (ReconciliationReport)
  },
  "successfulRecordCount": integer,
  "issues": [
    {
      object (ReconciliationReportValidationIssue)
    }
  ]
}
שדות
reconciliationReport

object (ReconciliationReport)

שם המשאב של דוח ההתאמה החדש. הפורמט הוא accounts/{account_id}.

successfulRecordCount

integer

מספר רשומות העמלות שנשמרו בהצלחה.

issues[]

object (ReconciliationReportValidationIssue)

בעיות שנתקלו בהן במהלך אימות הקובץ.

היקפי הרשאות

נדרש היקף ההרשאות הבא של OAuth:

  • https://www.googleapis.com/auth/travelpartner

ניתן למצוא מידע נוסף כאן: OAuth 2.0 Overview.