Was this page helpful?

CreateProject function

    Table of contents

    from project.wsdl

    required:

    • folder - project will belong to this folder (employer in recruitment) - ListFolder
    • name - name of project
    • state - ListProjectStatus (e.g. Active, Closed)
    • type - ListProjectType (e.g. "Open position" for recruitment)

    optional:

    • masterProject - parent (superodrinate) project
    • nameInMaster - name of project visible from parent project
    • refId - define specific reference id instead of autogenerated
    • comment - description of project
    • CONTACTS -> CONTACT -> id - id of contact related to project, could be more tags CONTACT
    • formId
    • formValues
    • internalFolder

     

    <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>
        <impl:CreateProject xmlns:impl="http://atollon.com/enterprise/wsdl">
          <server>atollon</server>
          <session>7D9244C155BDEFDC6A3A61C0516EDE8742C93B9ABD04</session>
          <PROJECT>
              <folder>71621000</folder>
              <name>Manager</name>
              <state>1</state>
              <type>1895000</type>
              <comment>Position to reinforce team</comment>
              <CONTACTS>
                  <CONTACT>
                      <id>78351000</id>
                  </CONTACT>
                  <CONTACT>
                      <id>68806000</id>
                  </CONTACT>
              </CONTACTS>
          </PROJECT>
        </impl:CreateProject>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <atollon:CreateProjectResponse xmlns:atollon="http://atollon.com/enterprise/wsdl">
             <result>OK</result>
             <time>0.16551304</time>
             <newId>222354000</newId>
             <TYPE>
                <id>1895000</id>
                <name>Open position</name>
                <masterProject>1</masterProject>
                <guiAction>&lt;ACTION module="recruitment" /></guiAction>
                <iType>2</iType>
             </TYPE>
          </atollon:CreateProjectResponse>
       </soapenv:Body>
    </soapenv:Envelope>

    Comments

    You must login to post a comment.

    Attach file

    Attachments