Skip to main content

CreateEvent

WSDL

scheduler.wsdl

GetSchedulerSettings

Contains several configurations of lists, incl. Solution Status and Type of Work (entryType) used in creating New Event. Please note that Solution Status should be selected based on Type of work and current user's profile.

Example Request

Operation request: 'CreateEvent'
<persistency-request operationId='CreateEvent'>
<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:Body>
    <ns1:CreateEvent xmlns:ns1="http://atollon.com/enterprise/wsdl">
      <server>acme</server>
      <session>...</session>
      <ITEM>
        <chargeable>0</chargeable>
        <remoteHeadId>0</remoteHeadId>
        <remoteId>0</remoteId>
        <resourceId>0</resourceId>
        <status>0</status>
        <userId>//--ID of event owner-user--//</userId>
        <completed xsi:nil="true"/>
        <multiEventTask>0</multiEventTask>
        <forUser>//--ID of event owner-user--//</forUser>
        <location>Event location text</location>
        <iversion></iversion>
        <solutionStatus>//-- ID of custom state--//</solutionStatus>
        <developmentStatus>0</developmentStatus>
        <severity>0</severity>
        <isPrivate>0</isPrivate>
        <activityId xsi:nil="true"/>
        <projectId xsi:nil="true"/>
        <folderId>//-- ID of customer folder--//</folderId>
        <nodeId>0</nodeId>
        <customId>0</customId>
        <comments></comments>
        <reminder>0</reminder>
        <addDuration>0</addDuration>
        <estimationHours>0</estimationHours>
        <actualHours>0</actualHours>
        <milestones>0</milestones>
        <description>Event description text ...</description>
        <htmlText></htmlText>
        <dateTo>2023-03-09T12:30:00</dateTo>
        <dateFrom>2023-03-09T12:00:00</dateFrom>
        <priority>0</priority>
        <entryType>//-- ID of type of work--//</entryType>
        <distributionHandle>//----//</distributionHandle>
        <aclh xsi:nil="true"/>
        <headId>0</headId>
        <headUserId>//--ID of event organizer-user--//</headUserId>
        <title>Event summary main text</title>
        <ident xsi:nil="true"/>
        <dimension1>0</dimension1>
        <dimension2>0</dimension2>
        <dimension3>0</dimension3>
        <taskTemplateId xsi:nil="true"/>
        <USER>
          <id>//--ID of event owner-user--//</id>
        </USER>
        <REPEAT>
          <repeatMode>2</repeatMode>
          <validFrom>2023-03-09T12:06:23</validFrom>
          <validTo>2023-04-09T00:00:00</validTo>
          <repeatEvery>1</repeatEvery>
          <repeatDay>0</repeatDay>
          <repeatMonth>0</repeatMonth>
          <repeatWeekDay>0</repeatWeekDay>
          <repeatWeekCount>0</repeatWeekCount>
          <repeatWeekDayList>4</repeatWeekDayList>
          <timeFrom>12:00</timeFrom>
          <timeTo>12:30</timeTo>
          <useOffset>0</useOffset>
          <offset>0</offset>
          <limit>1</limit>
        </REPEAT>
        <notify>1</notify>
        <refId></refId>
      </ITEM>
    </ns1:CreateEvent>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</persistency-request>

Example Response

Operation response: 'CreateEvent'
<persistency-response operationId='CreateEvent'>
<ns1:CreateEventResponse xmlns:ns1="http://atollon.com/enterprise/wsdl" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
  <result>OK</result>
  <name>create</name>
  <headId>107751483081</headId>
  <commonId>107751484081</commonId>
  <newId>107751483081</newId>
</ns1:CreateEventResponse>
</persistency-response>