我的要求是:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 5.0.2//EN
BEGIN:VTIMEZONE
TZID:UTC
BEGIN:STANDARD
DTSTART;VALUE=DATE:20140101
TZNAME:UTC
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
ATTENDEE;CN=Isha;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED:MAILTO:iagarwal@sch
eduleonce.com
DESCRIPTION:meeting details0
DTEND;TZID=UTC:20150601T061500
DTSTAMP:20150520T073543Z
DTSTART;TZID=UTC:20150601T051500
SEQUENCE:0
STATUS:Confirmed
SUMMARY:meeting 10
TRANSP:Opaque
UID:6BBD518F-B0E3-4157-A105-A7ECEB82D73E
END:VEVENT
BEGIN:VEVENT
ATTENDEE;CN=Isha;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED:MAILTO:iagarwal@sch
eduleonce.com
DESCRIPTION:meeting details1
DTEND;TZID=UTC:20150601T061500
DTSTAMP:20150520T073543Z
DTSTART;TZID=UTC:20150601T051500
SEQUENCE:0
STATUS:Confirmed
SUMMARY:meeting 11
TRANSP:Opaque
UID:6BBD518F-B0E3-4157-A105-A7ECEB82D73F
END:VEVENT
END:VCALENDAR
网址:https://p22-caldav.icloud.com/XXX/calendars/home 方法:POST 深度:1
Web响应不会返回任何异常。在Web响应中,我将http状态代码设置为“OK”,但事件不是在我的icloud日历上创建的。
我指的是enter link description here。搜索示例:日历资源批量创建
答案 0 :(得分:1)
您的POST请求位于日历 home 上,该日历是实际日历的父集合。我想你想在你的一个实际日历上做POST。
https://p22-caldav.icloud.com/XXX/calendars/home/xxxx/