Was this page helpful?

ListEvent Example

    Table of contents

    from scheduler.wsdl

    required:

    •     rangeStart, rangeEnd

    optional:

    •     USER -> id - list tasks of this user (possible more USER tags)
    •     anyTime - ignores date range and lists all tasks of user
    •     entryType - lists only one type of event(like Meeting), get it from GetSchedulerSettings (listType = 4, filter = 1)
    •     approvalStatus: 1 - Waiting for approval, 2 - Approved
    •     standardStatus: 1 - Pending, 2 - Completed, 3 - Missed deadline (dateTo)
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:ListEvent>
             <server>${Properties#server}</server>
             <session>${QuickLogin#Response#//atollon:QuickLoginResponse/session}</session>
             <rangeEnd>${Properties#listTo}</rangeEnd>
             <rangeStart>${Properties#listFrom}</rangeStart>
             <USER>
                <id>${QuickLogin#Response#//atollon:QuickLoginResponse/userId}</id>
             </USER>
          </wsdl:ListEvent>
       </soapenv:Body>
    </soapenv:Envelope>

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <atollon:ListEventResponse xmlns:atollon="http://atollon.com/enterprise/wsdl">
             <result>OK</result>
             <name>listevents</name>
             <ITEM>
                <layer>1</layer>
                <color>13434879</color>
                <entererId>53000</entererId>
                <entryTypeName>Holiday</entryTypeName>
                <isMultiUser>0</isMultiUser>
                <reminderTime>2008-12-08T12:45:00</reminderTime>
                <resourceId>0</resourceId>
                <folderId>0</folderId>
                <chargeable>0</chargeable>
                <modified>2008-12-08T18:49:42.417686</modified>
                <remoteHeadId>0</remoteHeadId>
                <remoteId>0</remoteId>
                <status>0</status>
                <userId>53000</userId>
                <multiEventTask>0</multiEventTask>
                <commonId>232404000</commonId>
                <solutionStatus>0</solutionStatus>
                <developmentStatus>0</developmentStatus>
                <severity>0</severity>
                <isPrivate>0</isPrivate>
                <activityId>0</activityId>
                <projectId>0</projectId>
                <nodeId>0</nodeId>
                <customId>0</customId>
                <reminder>0</reminder>
                <addDuration>0</addDuration>
                <estimationHours>0</estimationHours>
                <actualHours>0</actualHours>
                <milestones>0</milestones>
                <dateTo>2008-12-08T15:45:00</dateTo>
                <dateFrom>2008-12-08T12:45:00</dateFrom>
                <priority>0</priority>
                <entryType>8</entryType>
                <headId>232403000</headId>
                <title>testEvent6</title>
                <ident>232405000</ident>
             </ITEM>
             ...
          </atollon:ListEventResponse>
       </soapenv:Body>
    </soapenv:Envelope>

    Comments

    You must login to post a comment.

    Attach file

    Attachments