Community articleCalendar notice GET9.0.1
Added by api wiki on October 23, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Gets a notice associated with a calendar on a Domino server.
Input
Method URI Description
GET /{database}/api/calendar/notices/{noticeid} Gets a notice associated with a calendar on a Domino server.
Name Type Optional Description
database
string No Path name of a database on the server relative to the data directory.
noticeid
string No Universal ID of a calendar notice.
Name Type Optional Description
format
string Yes Requested format for the response.By default, the service returns the events in JSON format. To request iCalendar format, specify "format=icalendar".
Output
Name Type Optional Description
Content-Type
string No The format of response. The value Is either application/json or text/calendar.
Code Description
200
OK. Indicates that the request was handled successfully.
404
Not Found. Indicates the service can't find the notice.
Examples
Get a notice in JSON format.
Get /mail/sdayrn.nsf/api/calendar/notices/709B1AE4F5624F1A48257BB3001F70A4
Host: zealand.xyz.com

Response returned by the server
{
    "href": "/mail/sdayrn.nsf/api/calendar/notices/709B1AE4F5624F1A48257BB3001F70A4",
    "x-lotus-charset": {
        "data": "UTF-8"
    },
    "scheduleMethod": "request",
    "timezones": [
        {
            "tzid": "Greenwich",
            "standard": {
                "start": {
                    "date": "1950-01-01",
                    "time": "02:00:00"
                },
                "offsetFrom": "+0000",
                "offsetTo": "+0000"
            }
        }
    ],
    "events": [
        {
            "id": "A256C87634FFD31D00257BB2002B395E-Lotus_Notes_Generated",
            "summary": "Meeting 1",
            "start": {
                "date": "2013-07-27",
                "time": "13:00:00",
                "tzid": "Greenwich"
            },
            "end": {
                "date": "2013-07-27",
                "time": "14:00:00",
                "tzid": "Greenwich"
            },
            "recurrenceDates": [
                {
                    "start": {
                        "date": "2013-07-27",
                        "time": "13:00:00"
                    },
                    "end": {
                        "date": "2013-07-27",
                        "time": "14:00:00"
                    }
                }
            ],
            "recurrenceId": "20130727T120000Z",
            "class": "public",
            "transparency": "opaque",
            "sequence": 1,
            "attendees": [
                {
                    "role": "chair",
                    "status": "accepted",
                    "rsvp": false,
                    "displayName": "Samantha Daryn",
                    "email": "SamanthaDaryn@xyz.com"
                },
                {
                    "role": "req-participant",
                    "status": "needs-action",
                    "rsvp": true,
                    "displayName": "User1",
                    "email": "User1@xyz.com"
                }
            ],
            "organizer": {
                "displayName": "Samantha Daryn",
                "email": "SamanthaDaryn@xyz.com"
            },
            "x-lotus-update-subject": {
                "data": "Rescheduled: Daily share (Jul 27 01:00 PM GMT)"
            },
            "x-lotus-broadcast": {
                "data": "FALSE"
            },
            "x-lotus-notesversion": {
                "data": "2"
            },
            "x-lotus-noticetype": {
                "data": "U"
            },
            "x-lotus-appttype": {
                "data": "3"
            },
            "x-lotus-unid": {
                "data": "709B1AE4F5624F1A48257BB3001F70A4"
            }
        }
    ]
}
Get a notice in iCalendar format.
Get /mail/sdayrn.nsf/api/calendar/notices/709B1AE4F5624F1A48257BB3001F70A4?format=icalendar

Response returned by the server
BEGIN:VCALENDAR
X-LOTUS-CHARSET:UTF-8
VERSION:2.0
PRODID:-//Lotus Development Corporation//NONSGML Notes 9.0//EN_API_S
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Greenwich
BEGIN:STANDARD
DTSTART:19500101T020000
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Greenwich":20130727T130000
DTEND;TZID="Greenwich":20130727T140000
TRANSP:OPAQUE
RDATE;TZID="Greenwich";VALUE=PERIOD:20130727T130000/20130727T140000
RECURRENCE-ID:20130727T120000Z
DTSTAMP:20130725T054418Z
SEQUENCE:1
ATTENDEE;ROLE=CHAIR;PARTSTAT=ACCEPTED;CN="Samantha Daryn";RSVP=FALSE
 :mailto:SamanthaDaryn@xyz.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN="User1"
 ;RSVP=TRUE:mailto:User1@xyz.com
CLASS:PUBLIC
SUMMARY:Daily share
X-LOTUS-UPDATE-SUBJECT:Rescheduled: Daily share (Jul 27 01:00 PM GMT)
ORGANIZER;CN="Samantha Daryn":mailto:SamanthaDaryn@xyz.com
UID:A256C87634FFD31D00257BB2002B395E-Lotus_Notes_Generated
X-LOTUS-BROADCAST:FALSE
X-LOTUS-NOTESVERSION:2
X-LOTUS-NOTICETYPE:U
X-LOTUS-APPTTYPE:3
X-LOTUS-UNID:709B1AE4F5624F1A48257BB3001F70A4
END:VEVENT
END:VCALENDAR