2017-01-13 5 views
1

Google APIを使用してカレンダーイベントを作成すると、一瞬ばかり応答が返ってきます。needsActionこのイベントは、Google Appsリソースのカレンダーに作成されています。リソースタイプのカレンダー出席者がresponseStatus:needsAction?で応答できるのはなぜですか?リソースタイプのカレンダー出席者がresponseStatus:needsAction?で応答できるのはなぜですか?

+1

一部のアクション:

は、それは次のようになります。 – luc

答えて

0

responseStatus: needsActionは、ユーザーが設定したイベントを承諾しなかったことを意味しません。彼らがあなたが設定したイベントで何もしなかったことを意味します。 Events: getを使用して特定のイベントを取得することで確認できます。取得するのはcalendarIdeventIdです。

ここに出力例を示します。

{ 
"kind": "calendar#event", 
"etag": "\"29xxxxxxxxx70000\"", 
"id": "xxxxxb4arxxxsu2xxxd8gc", 
"status": "confirmed", 
"htmlLink": "https://www.google.com/calendar/event?eid=xxxxxxxxYmI0YXI2MXN1MjkwNxxxxxxa2NhcmVhbxxxxx9nbGUuY29t", 
"created": "2017-01-03T12:57:20.000Z", 
"updated": "2017-01-14T10:08:08.985Z", 
"summary": "3-xxxxxx015xx3", 
"description": "Sample description -", 
"creator": { 
    "email": "[email protected]" 
}, 
"organizer": { 
    "email": "[email protected]" 
}, 
"start": { 
    "dateTime": "2017-01-11T12:00:00+08:00" 
}, 
"end": { 
    "dateTime": "2017-01-11T12:25:00+08:00" 
}, 
"iCalUID": "[email protected]", 
"sequence": 0, 
"attendees": [ 
    { 
    "email": "[email protected]", 
    "responseStatus": "needsAction" 
    }, 
    { 
    "email": "[email protected]", 
    "responseStatus": "needsAction" 
    },  
    { 
    "email": "[email protected]", 
    "organizer": true, 
    "responseStatus": "accepted" 
    }, 
    { 
    "email": "[email protected]", 
    "responseStatus": "declined" 
    }, 
    { 
    "email": "[email protected]", 
    "self": true, 
    "responseStatus": "accepted" 
    } 
], 
"hangoutLink": "https://plus.google.com/hangouts/_/google.com/x?hceid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 
"reminders": { 
    "useDefault": true 
} 
} 

出力は[email protected]はそれを受け入れ、[email protected]がイベントを拒否しながら[email protected][email protected]は、カレンダーイベントの招待で何もしなかったことを示しています。

+1

私は 'responseStatus:needsAction'が何を意味しているかを知っています。ここで重要なのは、**リソース**がこのレスポンスで応答し、リソースがプロジェクタ、会議室のようなものです。受諾または拒否(使用されているとき)のどちらかで応答すると期待しています。これは通常、このように動作します。 – aladac

0

私は最近同じ問題を抱えていましたが、明らかに、イベントを送信する前にresponseStatusを「受け入れ済み」に設定することが修正されています。ニーズのアクションへの応答の原因リセット(異なる時間に会議を移動するなど)

attendees: [ 
    {email: resourceEmail, responseStatus: 'accepted'} 
] 
関連する問題