Was this page helpful?

CreateEvent Example

    Table of contents

    from scheduler.wsdl

    required:

     

    •     title, dateFrom, dateTo
    •     entryType: "ident" of ITEM from GetSchedulerSettings (listType = 4, filter = 1)
    •     headUserId: your id - userId from QuickLogin
    •     USER -> id: event will belong to this user; get id from GetContactList; possible more users

    optional:

    •     location, description: strings
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:CreateEvent>
             <server>atollon</server>
             <session>6353B3FFB0786E07753F92B25821A37557F6CEDDFC20</session>
             <ITEM>
                <description>decription of this event</description>
                <dateTo>2009-08-09T20:30:00</dateTo>
                <dateFrom>2007-08-09T20:30:00</dateFrom>
                <entryType>9</entryType>
                <headUserId>53000</headUserId>
                <title>testEvent</title>
                <USER>
                   <id>53000</id>
                </USER>
             </ITEM>
          </wsdl:CreateEvent>
       </soapenv:Body>
    </soapenv:Envelope>

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <atollon:CreateEventResponse xmlns:atollon="http://atollon.com/enterprise/wsdl">
             <result>OK</result>
             <name>create</name>
             <headId>233868000</headId>
             <commonId>233869000</commonId>
             <newId>233868000</newId>
          </atollon:CreateEventResponse>
       </soapenv:Body>
    </soapenv:Envelope>

    Comments

    You must login to post a comment.

    Attach file

    Attachments