Was this page helpful?

CreateTask Example

    Table of contents

    from scheduler.wsdl

    required:

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

    optional:

    •     description: string
    •     completed: date of task got completed
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:CreateTask>
             <server>atollon</server>
             <session>6353B3FFB0786E07753F92B25821A37557F6CEDDFC20</session>
             <ITEM>
                <description>task description</description>
                <dateTo>2007-08-09T20:30:00</dateTo>
                <dateFrom>2007-08-09T19:40:00</dateFrom>
                <entryType>7</entryType>
                <headUserId>53000</headUserId>
                <title>testTask</title>
                <USER>
                   <id>53000</id>
                   <isGarant>0</isGarant>
                </USER>
             </ITEM>
          </wsdl:CreateTask>
       </soapenv:Body>
    </soapenv:Envelope>

     

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

    Comments

    You must login to post a comment.

    Attach file

    Attachments