Method: accounts.reconciliationReports.create

สร้างรายงานการปรับยอดและอัปโหลดไปยัง Google

คำขอ HTTP

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

URL ใช้ไวยากรณ์การแปลงรหัส gRPC

พารามิเตอร์เส้นทาง

พารามิเตอร์
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