Was this page helpful?

Login Example

    Table of contents
    No headers

    from main.wsdl

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://iterity.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:Login>
         <server>atollon</server>
             <password>63a9f0ea7bb98050796b649e85481845</password>
             <userName>root</userName>
          </wsdl:Login>
       </soapenv:Body>
    </soapenv:Envelope>

    Where:

    • server field is static value
    • password is MD5 hash string
    • username is user human-readable identifier, system user is called 'root', all other users need to be assigned rights (using Groups) in order to get any data from the system

    You can create MD5 hash string running:

    echo -n "password" | md5sum
    

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Header/>
       <soapenv:Body>
          <atollon:LoginResponse xmlns:atollon="http://iterity.com/enterprise/wsdl">
             <result>OK</result>
             <id>newsession</id>
             <session>7BAF51286A6C98098BE388BE11280A22AEB19BA8BD04</session>
             <userId>53000</userId>
             <ORGANIZATION>
                <aclh>TREE000000001201</aclh>
                <name>STARTPEOPLE</name>
                <DEFAULTS>
                   <DEFAULT>
                      <id>70049000</id>
                      <ident>ACCOUNTNODE</ident>
                      <name>Account</name>
                      <node>55373000</node>
                      <nodeModule>finance</nodeModule>
                      <nodeType>Account</nodeType>
                   </DEFAULT>
                   <DEFAULT>
                      <id>70050000</id>
                      <ident>ACTIONSNODE</ident>
                      <name>Actions</name>
                      <node>55367000</node>
                      <nodeModule>workflow</nodeModule>
                      <nodeType>Actions</nodeType>
                   </DEFAULT>
                   <DEFAULT>
                      <id>70051000</id>
                      <ident>ACTIVITYSTATESNODE</ident>
                      <nodeModule>Project</nodeModule>
                      <nodeType>ActivityState</nodeType>
                   </DEFAULT>
                   ...
                </DEFAULTS>
                <OBJECT_SETTINGS>
                   <CONTACT>
                      <ADDRESS_TYPES>
                         <ADDRESS_TYPE>
                            <id>1882000</id>
                            <name>Fakturační</name>
                            <empAddr>0</empAddr>
                            <invoiceAddr>0</invoiceAddr>
                         </ADDRESS_TYPE>
                         <ADDRESS_TYPE>
                            <id>1880000</id>
                            <name>Kontaktní</name>
                            <empAddr>0</empAddr>
                            <invoiceAddr>0</invoiceAddr>
                         </ADDRESS_TYPE>
                      </ADDRESS_TYPES>
                      <DISTRIBUTION_GROUPS>
                         <DGROUP>
                            <id>2574000</id>
                            <name>Candidates</name>
                            <aclh>CONT000000001689</aclh>
                         </DGROUP>
                         <DGROUP>
                            <id>2573000</id>
                            <name>Client newsletter</name>
                            <aclh>CONT000000001688</aclh>
                         </DGROUP>
                         ...
                      </DISTRIBUTION_GROUPS>
                      <CATEGORIES/>
                      <CONTACT_TYPES>
                         <CONTACT_TYPE>
                            <id>1883000</id>
                            <name>E-mail (other)</name>
                            <type>1</type>
                         </CONTACT_TYPE>
                         <CONTACT_TYPE>
                            <id>1884000</id>
                            <name>E-mail (personal)</name>
                            <type>1</type>
                         </CONTACT_TYPE>
                         ...
                      </CONTACT_TYPES>
                      <RELATIONS>
                         <COMPANY_RELATIONS/>
                         <PERSONAL_RELATIONS/>
                      </RELATIONS>
                      <DEPARTMENTS>
                         <DEPARTMENT>
                            <id>1842000</id>
                            <name>Administration</name>
                         </DEPARTMENT>
                         <DEPARTMENT>
                            <id>1843000</id>
                            <name>Consulting</name>
                         </DEPARTMENT>
                         ...
                      </DEPARTMENTS>
                      <POSITIONS>
                         <POSITION>
                            <id>1853000</id>
                            <name>Accountant</name>
                         </POSITION>
                         <POSITION>
                            <id>1854000</id>
                            <name>Artist</name>
                         </POSITION>
                         ...
                      </POSITIONS>
                      <BRANCHES>
                         <BRANCH>
                            <id>1821000</id>
                            <name>Automotive</name>
                         </BRANCH>
                         <BRANCH>
                            <id>1822000</id>
                            <name>Banking</name>
                         </BRANCH>
                         ...
                      </BRANCHES>
                   </CONTACT>
                   <GLOBAL>
                      <LANGUAGES>
                         <LANGUAGE>
                            <id>2134000</id>
                            <languageLong>German</languageLong>
                            <languageShort>GER</languageShort>
                            <charset>iso-8859-1</charset>
                            <useForWeb>0</useForWeb>
                            <useForTrans>0</useForTrans>
                            <priority>0</priority>
                         </LANGUAGE>
                         <LANGUAGE>
                            <id>2135000</id>
                            <languageLong>Russian</languageLong>
                            <languageShort>RUS</languageShort>
                            <useForWeb>0</useForWeb>
                            <useForTrans>0</useForTrans>
                            <priority>0</priority>
                         </LANGUAGE>
                         ...
                      </LANGUAGES>
                      <TRANSLATIONS>
                         <LANGUAGE>
                            <id>2508000</id>
                            <languageLong>English</languageLong>
                            <languageShort>ENG</languageShort>
                            <charset>iso-8859-1</charset>
                            <useForWeb>1</useForWeb>
                            <useForTrans>1</useForTrans>
                            <priority>0</priority>
                         </LANGUAGE>
                         <LANGUAGE>
                            <id>2607000</id>
                            <languageLong>Czech</languageLong>
                            <languageShort>CZE</languageShort>
                            <charset>iso-8859-2</charset>
                            <useForWeb>1</useForWeb>
                            <useForTrans>1</useForTrans>
                            <priority>0</priority>
                         </LANGUAGE>
                      </TRANSLATIONS>
                      <CURRENCIES>
                         <CURRENCY>
                            <id>2324000</id>
                            <shortName>CZK</shortName>
                         </CURRENCY>
                         <CURRENCY>
                            <id>2325000</id>
                            <shortName>EUR</shortName>
                         </CURRENCY>
                         <CURRENCY>
                            <id>2326000</id>
                            <shortName>USD</shortName>
                         </CURRENCY>
                      </CURRENCIES>
                      <VATS/>
                   </GLOBAL>
                   <ITEM>
                      <UNITS/>
                   </ITEM>
                   <PROJECT>
                      <FOLDER_TEMPLATES>
                         <FOLDER_TEMPLATE>
                            <id>1762000</id>
                            <name>Candidate</name>
                            <accountLinkType>1</accountLinkType>
                            <treeHandle>1666000</treeHandle>
                            <aclh>PROJ000000001329</aclh>
                            <contactType>1</contactType>
                            <oneforcontact>0</oneforcontact>
                            <folderType>1754000</folderType>
                         </FOLDER_TEMPLATE>
                         <FOLDER_TEMPLATE>
                            <id>1758000</id>
                            <name>Client</name>
                            <accountLinkType>1</accountLinkType>
                            <treeHandle>1666000</treeHandle>
                            <aclh>PROJ000000001325</aclh>
                            <contactType>2</contactType>
                            <oneforcontact>0</oneforcontact>
                            <folderType>1752000</folderType>
                         </FOLDER_TEMPLATE>
                         ...
                      </FOLDER_TEMPLATES>
                   </PROJECT>
                   <INVOICE>
                      <INVOICE_STATES/>
                   </INVOICE>
                   <FINANCE>
                      <JOURNALS/>
                   </FINANCE>
                   <MESSAGE>
                      <MESSAGE_TYPES>
                         <MESSAGE_TYPE>
                            <id>54692000</id>
                            <name>E-mail</name>
                            <treeHandle>54594000</treeHandle>
                            <type>7</type>
                            <priority>9</priority>
                         </MESSAGE_TYPE>
                         <MESSAGE_TYPE>
                            <id>57768000</id>
                            <name>Fax</name>
                            <treeHandle>54594000</treeHandle>
                            <type>3</type>
                            <priority>0</priority>
                         </MESSAGE_TYPE>
                         ...
                      </MESSAGE_TYPES>
                   </MESSAGE>
                   <SCHEDULER>
                      <TYPES_OF_WORK>
                         <TYPE_OF_WORK>
                            <isDefault>0</isDefault>
                            <nodeId>2480000</nodeId>
                            <title>Business trip</title>
                            <color>65280</color>
                            <nValue>0</nValue>
                            <ident>12</ident>
                            <defaultFor>0</defaultFor>
                            <validFor>5</validFor>
                         </TYPE_OF_WORK>
                         <TYPE_OF_WORK>
                            <isDefault>0</isDefault>
                            <nodeId>2480000</nodeId>
                            <title>Holiday</title>
                            <color>13434879</color>
                            <nValue>0</nValue>
                            <ident>8</ident>
                            <defaultFor>0</defaultFor>
                            <validFor>5</validFor>
                         </TYPE_OF_WORK>
                         ...
                      </TYPES_OF_WORK>
                      <SEVERITIES/>
                      <STATUSES/>
                      <SOLUTION_STATUSES/>
                   </SCHEDULER>
                </OBJECT_SETTINGS>
             </ORGANIZATION>
             <SESSIONINFO>
                <userName>root</userName>
                <userId>53000</userId>
                <userRoot>201</userRoot>
                <userRootName>Root</userRootName>
                <userHome>20000</userHome>
                <msgGroup>50000</msgGroup>
                <msgNode>51000</msgNode>
                <adminTree>1</adminTree>
                <canPasswd>1</canPasswd>
                <mustPasswd>0</mustPasswd>
                <mapVirtualFs>0</mapVirtualFs>
                <canExport>1</canExport>
                <canImport>1</canImport>
                <canPrint>1</canPrint>
                <showOnlyUc>0</showOnlyUc>
                <canOffline>1</canOffline>
                <isRoot>1</isRoot>
                <bugMsgGroup>50000</bugMsgGroup>
                <bugTreeHandle>53000</bugTreeHandle>
                <enterprise>1</enterprise>
                <mantainer>0</mantainer>
                <offlineMode>0</offlineMode>
                <canGarant>0</canGarant>
                <canDocgen>1</canDocgen>
                <organizationId>1603000</organizationId>
                <organizationName>STARTPEOPLE</organizationName>
                <smbServerName>/home/asp/data/192.168.0.206</smbServerName>
                <CLIENT>
                   <name>None</name>
                   <ident>ITERITY_OFFLINE</ident>
                   <PRODUCT>
                      <name>Iterity CRM</name>
                      <version>ITERITYCRM_3.0</version>
                      <versionIdent>ITERITYCRM_3.0</versionIdent>
                   </PRODUCT>
                   <ADDRESS>
                      <string/>
                   </ADDRESS>
                   <DIC>
                      <string/>
                   </DIC>
                   <ICO>
                      <string/>
                   </ICO>
                   <VALID>
                      <from>2006-04-01T18:37:05</from>
                      <to>2020-04-19T18:37:05</to>
                   </VALID>
                   <USERS>
                      <int>2</int>
                   </USERS>
                   <MAINTAINER>
                      <boolean>0</boolean>
                   </MAINTAINER>
                   <TYPE>
                      <string>ENTERPRISE</string>
                   </TYPE>
                   <OTHER>
                      <string/>
                   </OTHER>
                </CLIENT>
                <OTHERSETTINGS>
                   <LANGUAGE>
                      <string>2508000</string>
                   </LANGUAGE>
                </OTHERSETTINGS>
             </SESSIONINFO>
          </atollon:LoginResponse>
       </soapenv:Body>
    </soapenv:Envelope>













     

    Comments

    You must login to post a comment.

    Attach file

    Attachments