我試圖從API日曆文件Try It API Explorer上正確使用該工具的Google日曆事件中刪除一些與會議室資源日曆相關的與會者,使用具有超過該日曆管理權限的域管理員帳戶,Google Calendar API未使用Google API Explorer刪除與會者列表中的與會者
我送請求主體從事件中刪除兩個參加授權,該API的結果是200 OK,但與會者仍然有..
我嘗試添加新的參與者或更新其狀態,並且它可以正常工作,但不能刪除與會者。
任何機構都知道我在這裏錯過了什麼?我也試着採用這種通過氣,我遇到同樣的問題,但要丟棄任何自編程問題我已經與官方的API試圖試試看工具
請求
PATCH
https://www.googleapis.com/calendar/v3/calendars/supportworld.com.ar_34373XXXXXXXXXXX2%40resource.calendar.google.com/events/osrd3lXXXXXXXolks?fields=attendees%2Cid&key={YOUR_API_KEY}
Content-Type: application/json
Authorization: Bearer ya29.bwAXXXXXXXXJOeCUAAADDYWT-QXXXXXXXXXXrc_eGP6Lk7CXXXXXXXXJ6130__ci_-_YXXXXxs
X-JavaScript-User-Agent: Google APIs Explorer
{
"attendees": [
{
"organizer": true,
"email": "[email protected]",
"responseStatus": "accepted",
"displayName": "AAAAAAA"
},
{
"self": true,
"resource": true,
"email": "[email protected]om",
"responseStatus": "accepted",
"displayName": "Cafetera"
}
],
"id": "osrd3lXXXXXXXolks
"
}
響應
200 OK
cache-control: no-cache, no-store, max-age=0, must-revalidate
content-encoding: gzip
content-length: 294
content-type: application/json; charset=UTF-8
date: Thu, 28 Aug 2014 16:15:06 GMT
etag: "XXXXXXXXX"
expires: Fri, 01 Jan 1990 00:00:00 GMT
pragma: no-cache
server: GSE
{
"id": "osrd3lids0gkoeaggp2c95olks",
"attendees": [
{
"email": "[email protected]",
"displayName": "AAAAAAA",
"organizer": true,
"responseStatus": "accepted"
},
{
"email": "[email protected]",
"displayName": "YYYYYYY",
"responseStatus": "accepted"
},
{
"email": "[email protected]",
"displayName": "BBBBBB",
"responseStatus": "needsAction"
},
{
"email": "[email protected]om",
"displayName": "Cafetera",
"self": true,
"resource": true,
"responseStatus": "accepted"
}
]
}
條目:
{
"email": "[email protected]",
"displayName": "YYYYYYY",
"responseStatus": "accepted"
},
{
"email": "[email protected]",
"displayName": "BBBBBB",
"responseStatus": "needsAction"
}
不應該在那裏,但他們是..任何幫助讚賞,