简体   繁体   English

使用带有JavaScript的Google Calendar api v3在Google Calendar中创建记录事件(jquery ajax POST)

[英]Creating reccuring events in Google Calendar using Google Calendar api v3 with javascript (jquery ajax POST)

I am trying to create a series of calendar appointments using a JQuery Ajax Post using the Google Calendar api (v3) and a token from the identity link. 我正在尝试使用使用Google日历api(v3)的JQuery Ajax Post和来自身份链接的令牌来创建一系列日历约会。

Just te be clear: The request works, and the authentication works. 请明确:请求有效,而身份验证有效。 The only thing that isn't working is the recurrence... 唯一不起作用的是复发...

data.recurrence = ["RDATE:20140308T000000"] data.recurrence = [“ RDATE:20140308T000000”]

the rest of the fields are working. 其余字段都在工作。

Can someone please tell my why the recurring events are not added? 有人可以告诉我为什么不添加重复事件吗?

Thanks in advance. 提前致谢。

I've solved the problem by not using the JSON stringify function, and creating the request body as a String object. 我不使用JSON stringify函数,而是将请求主体创建为String对象,从而解决了该问题。 JSON changed " into /" JSON更改为“ /”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM