Exchange OData Connector 25.4
Exchange OData Connector Help

# 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 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Exchange OData Connector 25.4

Topic Title: Insert an Event