ws-calendar-rest-v1.0-wd05 Working Draft 05 17 February 2012
Copyright (c) 2012 The Calendaring and Scheduling Consortium. All Rights Reserved. Page 3 of 37
3.20 calendar-collection link property ..................................................................................................... 12
3.21 calWS:privilege-set XML element ................................................................................................... 13
4 Retrieving Collection and Service Properties ..................................................................................... 14
4.1 Request parameters ......................................................................................................................... 14
4.2 Responses: ....................................................................................................................................... 14
4.3 Example - retrieving server properties: ............................................................................................. 14
5 Creating Calendar Object Resources................................................................................................. 16
5.1 Request parameters ......................................................................................................................... 16
5.2 Responses: ....................................................................................................................................... 16
5.3 Preconditions for Calendar Object Creation ..................................................................................... 16
5.4 Example - successful POST: ............................................................................................................ 17
5.5 Example - unsuccessful POST: ........................................................................................................ 17
6 Retrieving resources........................................................................................................................... 18
6.1 Request parameters ......................................................................................................................... 18
6.2 Responses: ....................................................................................................................................... 18
6.3 Example - successful fetch: .............................................................................................................. 18
6.4 Example - unsuccessful fetch: .......................................................................................................... 18
7 Updating resources ............................................................................................................................ 19
7.1 Responses: ....................................................................................................................................... 19
8 Deletion of resources.......................................................................................................................... 21
8.1 Delete for Collections ........................................................................................................................ 21
8.2 Responses: ....................................................................................................................................... 21
9 Querying calendar resources ............................................................................................................. 22
9.1 Limiting data returned ....................................................................................................................... 22
9.2 Pre/postconditions for calendar queries ........................................................................................... 22
9.3 Example: time range limited retrieval ............................................................................................... 22
10 Free-busy queries............................................................................................................................... 27
10.1 ACCEPT header ............................................................................................................................. 27
10.2 URL Query Parameters .................................................................................................................. 27
10.2.1 start .......................................................................................................................................... 27
10.2.2 end ........................................................................................................................................... 28
10.2.3 period ....................................................................................................................................... 28
10.2.4 account .................................................................................................................................... 28
10.3 URL parameters - notes ................................................................................................................. 28
10.4 HTTP Operations ............................................................................................................................ 28
10.5 Response Codes ............................................................................................................................ 28
10.6 Examples ........................................................................................................................................ 29
11 Conformance ...................................................................................................................................... 32
Appendix A. Acknowledgments ............................................................................................................. 33
Appendix B. An Introduction to Internet Calendaring ............................................................................ 34
B.1 icalendar ........................................................................................................................................... 34
B.1.1 History ....................................................................................................................................... 34
B.1.2 Data model ................................................................................................................................ 34
B.1.3 Scheduling ................................................................................................................................ 35
B.1.4 Extensibility ............................................................................................................................... 35