Home

Results 1 to 7 of 7

Thread: Creating GW appointments through the API

Threaded View

  1. #1
    Join Date
    Jun 2008
    Location
    Just east of nowhere
    Posts
    71

    Creating GW appointments through the API

    Hey everyone,

    I'm trying to create an appointment using the GroupWise API, and for some reason, the appointments don't show up anywhere for either user. The server returns a status code of 0 as expected however.

    This is the SOAP document that I'm submitting, which looks like it's supposed to according to the documentation (page 221-222 of the GroupWise SDK: WebServices)

    Code:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SOAP-ENV:Header />
        <SOAP-ENV:Body>
            <sendItemRequest>
                <session>S0ztWsNg7sUi3K0Z</session>
                <item type="Appointment">
                    <source>sent</source>
                    <class>Public</class>
                    <acceptLevel>Busy</acceptLevel>
                    <subject>Test Appointment</subject>
                    <distribution>
                        <recipients>
                            <recipient>
                                <displayName>Gerald Kolb</displayName>
                                <email>gkolb@mail.millikin.edu</email>
                                <uuid>882E7FB0-02A8-0000-B071-71DBED37C202</uuid>
                                <distType>TO</distType>
                            </recipient>
                            <recipient>
                                <displayName>Christopher Myers</displayName>
                                <email>cmyers@mail.millikin.edu</email>
                                <uuid>AF49C680-119F-0000-A409-01008000FB00</uuid>
                                <distType>TO</distType>
                            </recipient>
                        </recipients>
                        <sendoptions>
                            <requestReply />
                            <statusTracking>All</statusTracking>
                            <updateFrequentContacts>0</updateFrequentContacts>
                        </sendoptions>
                    </distribution>
                    <message>
                        <part length="20">VGhpcyBpcyBhIHRlc3Qu</part>
                    </message>
                    <options>
                        <priority>Standard</priority>
                    </options>
                    <startDate>20130630T160000Z</startDate>
                    <endDate>20130630T163000Z</endDate>
                    <alarm gwt:enabled="1">5</alarm>
                    <place>place</place>
                </item>
            </sendItemRequest>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    This is what's returned by the API:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SOAP-ENV:Header />
        <SOAP-ENV:Body>
            <gwm:sendItemResponse xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events" xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
                <gwm:id>51CDB3EF.mi.TEC01.100.163786A.1.3701E.1@76</gwm:id>
                <gwm:status>
                    <gwt:code>0</gwt:code>
                </gwm:status>
            </gwm:sendItemResponse>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Thanks for any insights :)
    Last edited by smily_03; 28-Jun-2013 at 10:16 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •