带有 php 的谷歌日历 v3 api 不发送与会者

时间:2021-03-04 15:05:41

标签: php curl google-calendar-api

我正在使用谷歌日历 v3 和 php,事件被正确插入,但是我尝试向与会者发送邀请,但它不起作用,有人能指出我正确的方向吗?

这是我发送的数组:

Sub Fill_Quote_Detail()

Dim QDetails As ListBox
Set QDetails = Body_And_Vehicle_Type_Form.Quote_Details

With QDetails

    Dim ws       As Worksheet
    Dim RngData  As Range
    
    Set ws = Sheets("Quote Detail")
    Set RngData = ws.Range("A1:K" & ws.Range("A" & ws.Rows.Count).End(xlUp).Row)
    
    QDetails.ColumnHeads = True
    QDetails.ColumnCount = RngData.Columns.Count
    
    Set RngData = RngData.Resize(RngData.Rows.Count - 1).Offset(1)
    QDetails.RowSource = RngData / Parent.Name & "!" & RngData.Address
    
    QDetails.ColumnWidths = "90;60;100;150;90;80;100;95;60"
End With

End Sub     

代码如下:

array(5) {
  ["summary"]=>
  string(6) "prueba"
  ["attendees"]=>
  array(1) {
    ["email"]=>
    string(22) "example@gmail.com"
  }
  ["params"]=>
  array(2) {
    ["sendUpdates"]=>
    string(3) "all"
    ["sendNotifications"]=>
    string(4) "true"
  }
  ["start"]=>
  array(2) {
    ["dateTime"]=>
    string(19) "2021-03-05T09:49:00"
    ["timeZone"]=>
    string(14) "America/Bogota"
  }
  ["end"]=>
  array(2) {
    ["dateTime"]=>
    string(19) "2021-03-05T10:49:00"
    ["timeZone"]=>
    string(14) "America/Bogota"
  }
}

0 个答案:

没有答案