Open topic with navigation

# Insert an Event

To insert an event, your `insertXML` must include the following properties:

Property name | Description
--- | ---
`TYPE` | The type of item to insert (set this property to `EVENT`).
`CALENDAR_ID` | The ID of the calendar to add the event to.
`USER_ID` | The ID of the user account to add the event to.

For example:

    <insertXML>
      <insert>
        <reference>New event</reference>
        <property name="CALENDAR_ID" value="..."/>
        <property name="TYPE" value="EVENT"/>
        <property name="USER_ID" value="2fbcacc4-2b74-4cfd-bb3e-edad8f0cd0cc"/>
        <xmlmetadata>
            <Subject>Please attend!</Subject>
            <Body>
              <ContentType>html</ContentType>
              <Content>Please attend this event</content>
            </Body>
            <Start>
                <DateTime>2018-10-25T17:00:00Z</DateTime>
                <TimeZone>UTC</TimeZone>
            </Start>
            <End>
                <DateTime>2018-10-25T18:00:00Z</DateTime>
                <TimeZone>UTC</TimeZone>
            </End>
            <Location>
                <DisplayName>MicroFocus</DisplayName>
                <Address>
                    <Street>Cambridge Business Park</Street>
                    <City>Cambridge </City>
                    <State>Cambs</State>
                    <PostalCode>CB4 0WZ</PostalCode>
                    <CountryOrRegion>UK</CountryOrRegion>
                </Address>
                <Coordinates>
                    <Latitude>52.2284398</Latitude>
                    <Longitude>0.1543798</Longitude>
                    <Altitude>19.58</Altitude>
                </Coordinates>
            </Location>
            <Attendee>
                <EmailAddress>
                    <Name>person1</Name>
                    <Address>person1@microfocus.com</Address>
                </EmailAddress>
                <Type>optional</Type>
            </Attendee>
            <Attendee>
                <EmailAddress>
                    <Name>person2</Name>
                    <Address>person2@microfocus.com</Address>
                </EmailAddress>
                <Type>optional</Type>
            </Attendee>
        </xmlmetadata>
      </insert>
    </insertXML>

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm