--
You received this message because you are subscribed to a topic in the Google Groups "Google Calendar API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-calendar-api/mfSU-y9NP_U/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-calendar...@googlegroups.com.
To post to this group, send email to google-ca...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-calendar-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Two more things i want to tell you that i am working on windows form application and using service account for OAuth2.
}
--
200 OK
{"kind": "calendar#event","etag": "\"GZxpEFttRDAOmLHnWRxLHHWPGwk/Z2NhbDAwMDAxMzY2NzA5NDgwOTIzMDAw\"","id": "k8k2p5qm2o3oa9o8ea9peud358","status": "confirmed","htmlLink": "https://www.google.com/calendar/event?eid=azhrMnA1cW0ybzNvYTlvOGVhOXBldWQzNTggaXRza2FzaGlmemFmYXJAbQ","created": "2013-04-23T09:31:20.000Z","updated": "2013-04-23T09:31:20.923Z","location": "Lahore","start": {"dateTime": "2013-06-03T10:10:00+05:00"},"end": {"dateTime": "2013-06-03T10:15:00+05:00"},"sequence": 0,"reminders": {"useDefault": true}}
I solved it, and the issue was not code, It works fine.
The problem was sharing my calendar. Something that I don't knew.
To allow edit your calendar events from service account, do not have enough with all steps you do in the Google Api Console, you have to give permission from your calendar configuration (Calendar configuration -> Share this calendar) to the email account specified into Google Api Console (email adress).
Correct, and yes, thank God!
When I first added google calendar API to my app, I learned /recognized that I had to share calendar to the google acct mentioned in the api console as well.
Thanks for sharing. Others will benefit from this email thread. :-)
--