Gets the server time for the requested calendars.
Parameter |
Type |
Purpose |
Required |
Default |
---|---|---|---|---|
calid |
semicolon-separated list of strings |
A list of calendar identifiers. |
N |
Current user’s calid |
fmt-out |
string |
The format for the returned data. Two format types: text/calendar text/xml |
Y |
text/calendar |
id |
unique identifier string |
The session identifier. |
Y |
N/A |
tzidout |
time zone ID string |
Time zone to report returned data in. |
N |
Zulu time |
Calendars must have given read permission to the user requesting the server time. Returns the server time of the server where the calendar is stored.
X-NSCP-WCAP-ERRNO:1 - Session ID timed out or Invalid session ID
X-NSCP-WCAP-ERRNO:28 - Command failed. The system denies access to the calendar
X-NSCP-WCAP-ERRNO:29 - Command failed. The calendar does not exist in the database
X-NSCP-WCAP-ERRNO:55 - Get Server time Failed
http://calendarserver/gettime.wcap ?id=br6e8vx9ek02n2ow9 &calid=jdoe &tzidout=America/Los_Angeles |
BEGIN:VCALENDAR PRODID:-//SunONE/Calendar Hosting Server//EN VERSION:2.0 X-NSCP-WCAPTIME:20021021T082743 X-NSCP-WCAP-ERRNO:0 END:VCALENDAR