Was this page helpful?

UpdateContact Example

    Table of contents
    No headers

    Person:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://iterity.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:UpdateContact>
             <server>iterity</server>
             <session>9A96995C36FC099FD99BA9C9C5EC37A2B445B660FC20</session>
             <contactId>939014000</contactId>
             <PERSON>
                <id>939014000</id>
                <mainContact>939014000</mainContact>
                <treeHandle>1130000</treeHandle>
                <aclh>PERS000000058768</aclh>
                <category>1370000</category>
                <description>Hrasko komentuje...!</description>
                <keyId>abcde?</keyId>
                <adsAllowed>0</adsAllowed>
                <keepContact></keepContact>
                <created>2007-08-02T00:00:00</created>
                <modified>2007-09-12T00:00:00</modified>
                <createdBy>53000</createdBy>
                <modifiedBy>53000</modifiedBy>
                <createdByName>root</createdByName>
                <modifiedByName>root</modifiedByName>
                <folderId>943823000</folderId>
                <folderName>3C</folderName>
                <email>janko@ama.com</email>
                <street>P.O.Box 46</street>
                <zip>976 81</zip>
                <city>Podbrezová</city>
                <account>456</account>
                <bankCode>33</bankCode>
                <swiftCode>883</swiftCode>
                <firstName>1janicko</firstName>
                <lastName>1hrasticko</lastName>
                <midName>malicky</midName>
                <ADDRESSES>
                   <ADDRESS>
                      <type>1433000</type>
                      <street>P.O.Box 46</street>
                      <cityName>Podbrezová</cityName>
                      <zipName>976 81</zipName>
                      <isPrimary>1</isPrimary>
                      <empAddr>1</empAddr>
                   </ADDRESS>
                </ADDRESSES>
                <CONTACTS>
                   <CONTACT>
                      <content>janko@ama.com</content>
                      <type>1441000</type>
                      <description>lksajd</description>
                      <isPrimary>1</isPrimary>
                      <isMain>1</isMain>
                      <typeName>E-mail (personal)</typeName>
                      <typeType>1</typeType>
                   </CONTACT>
                </CONTACTS>
                <BANKS>
                   <BANK>
                      <name>bancicka</name>
                      <bankName>fds</bankName>
                      <account>456</account>
                      <bankCode>33</bankCode>
                      <swiftCode>883</swiftCode>
                      <variableSymbol>321</variableSymbol>
                      <constantSymbol>sa</constantSymbol>
                      <specificSymbol>133</specificSymbol>
                      <comment>sa</comment>
                      <isPrimary>1</isPrimary>
                   </BANK>
                </BANKS>
                <DGROUPS>
                   <DGROUP>
                      <id>739326000</id>
                      <name>Produkt sales - E-mail</name>
                   </DGROUP>
                </DGROUPS>
                <PICTURES>
                   <string/>
                </PICTURES>
                <PERSONINFO>
                   <prefixTitle>Mgr.</prefixTitle>
                   <postfixTitle>csc</postfixTitle>
                   <sex>1</sex>
                   <maritalStatus>2</maritalStatus>
                   <salutation>Dear Mr.</salutation>
                   <preferedLang>2547000</preferedLang>
                </PERSONINFO>
                <EMPLOYMENTS>
                   <COMPANY>
                      <company>943819000</company>
                      <companyName>3C</companyName>
                      <created>2007-08-09T09:10:12.857071</created>
                      <createdBy>root</createdBy>
                      <department>1400000</department>
                      <departmentName>Administration</departmentName>
                      <isPrimary>1</isPrimary>
                      <modified>2007-09-12T17:06:30.998335</modified>
                      <modifiedBy>root</modifiedBy>
                      <position>1411000</position>
                      <positionInfo>zz</positionInfo>
                      <positionName>Farmer</positionName>
                      <validFrom>0014-01-28T00:00:00</validFrom>
                      <validTo>0031-01-28T00:00:00</validTo>
                      <FOLDER>
                         <type>1198000</type>
                         <id>943823000</id>
                         <name>3C</name>
                      </FOLDER>
                   </COMPANY>
                </EMPLOYMENTS>
                <RELATIONS>
                   <RELATION>
                      <contact>152522000</contact>
                      <contactName>Abante</contactName>
                      <relation>53867000</relation>
                      <typeName>Friend</typeName>
                   </RELATION>
                </RELATIONS>
             </PERSON>
          </wsdl:UpdateContact>
       </soapenv:Body>
    </soapenv:Envelope>

    or company:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://iterity.com/enterprise/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:UpdateContact>
             <server>iterity</server>
             <session>5F7131B4C504AC9CB210112B97F180D7A1BC568CFC20</session>
             <contactId>971315000</contactId>
             <COMPANY>
                <id>971315000</id>
                <mainContact>971315000</mainContact>
                <treeHandle>1130000</treeHandle>
                <aclh>COMP000000058966</aclh>
                <category>1363000</category>
                <description>komentar1</description>
                <created>2007-08-22T00:00:00</created>
                <modified>2007-09-28T00:00:00</modified>
                <createdBy>53000</createdBy>
                <modifiedBy>53000</modifiedBy>
                <createdByName>root</createdByName>
                <modifiedByName>root</modifiedByName>
                <projectId>901048000</projectId>
                <folderId>1548000</folderId>
                <projectName>První testovací projekt</projectName>
                <folderName>AAAZZ</folderName>
                <email>janko@hrasko</email>
                <street>ulice</street>
                <zip>15500</zip>
                <region>stredocesky</region>
                <city>praha</city>
                <country>CR</country>
                <account>sad</account>
                <bankCode>kod</bankCode>
                <swiftCode>dsa</swiftCode>
                <ADDRESSES>
                   <ADDRESS>
                      <type>97104000</type>
                      <street>ulice</street>
                      <cityName>praha</cityName>
                      <regionName>stredocesky</regionName>
                      <zipName>15500</zipName>
                      <countryName>CR</countryName>
                      <isPrimary>1</isPrimary>
                      <empAddr>0</empAddr>
                      <invoiceAddr>1</invoiceAddr>
                   </ADDRESS>
                </ADDRESSES>
                <CONTACTS>
                   <CONTACT>
                      <content>janko@hrasko</content>
                      <type>1441000</type>
                      <isPrimary>1</isPrimary>
                      <isMain>1</isMain>
                      <typeName>E-mail (personal)</typeName>
                      <typeType>1</typeType>
                   </CONTACT>
                   <CONTACT>
                      <content>janko@hrasko</content>
                      <type>1442000</type>
                      <isPrimary>0</isPrimary>
                      <isMain>0</isMain>
                      <typeName>E-mail (work)</typeName>
                      <typeType>1</typeType>
                   </CONTACT>
                   <CONTACT>
                      <type>1445000</type>
                      <isPrimary>0</isPrimary>
                      <isMain>1</isMain>
                      <typeName>Phone (work)</typeName>
                      <typeType>2</typeType>
                   </CONTACT>
                   <CONTACT>
                      <type>1437000</type>
                      <isPrimary>0</isPrimary>
                      <isMain>1</isMain>
                      <typeName>Mobile</typeName>
                      <typeType>3</typeType>
                   </CONTACT>
                   <CONTACT>
                      <type>1435000</type>
                      <isPrimary>0</isPrimary>
                      <isMain>1</isMain>
                      <typeName>Fax</typeName>
                      <typeType>4</typeType>
                   </CONTACT>
                   <CONTACT>
                      <type>1439000</type>
                      <isPrimary>0</isPrimary>
                      <isMain>1</isMain>
                      <typeName>Web</typeName>
                      <typeType>5</typeType>
                   </CONTACT>
                </CONTACTS>
                <BANKS>
                   <BANK>
                      <name>janko</name>
                      <bankName>banka</bankName>
                      <account>sad</account>
                      <bankCode>kod</bankCode>
                      <swiftCode>dsa</swiftCode>
                      <variableSymbol>VS</variableSymbol>
                      <constantSymbol>titul</constantSymbol>
                      <specificSymbol>SS</specificSymbol>
                      <comment>komentar</comment>
                      <isPrimary>1</isPrimary>
                   </BANK>
                </BANKS>
                <DGROUPS>
                   <DGROUP>
                      <id>2295000</id>
                      <name>Newsletter</name>
                   </DGROUP>
                   <DGROUP>
                      <id>986756000</id>
                      <name>Sailors</name>
                   </DGROUP>
                   <DGROUP>
                      <id>1020370000</id>
                      <name>Nová grupa</name>
                   </DGROUP>
                   <DGROUP>
                      <id>1052235000</id>
                      <name>test</name>
                   </DGROUP>
                </DGROUPS>
                <PICTURES>
                   <string/>
                </PICTURES>
                <name1>11aqaatestik</name1>
                <COMPANYINFO>
                   <ico>2232</ico>
                   <dic>44454</dic>
                   <legalForm>1425000</legalForm>
                   <legalFormName>a. s.</legalFormName>
                </COMPANYINFO>
                <INDUSTRIES>
                   <INDUSTRY>
                      <description>neutral</description>
                      <industryName>Law</industryName>
                      <industry>1382000</industry>
                      <isPrimary>0</isPrimary>
                   </INDUSTRY>
                </INDUSTRIES>
                <EMPLOYEES>
                   <EMPLOYEE>
                      <positionInfo>osoba</positionInfo>
                      <validTo>0001-01-01T00:00:00</validTo>
                      <validFrom>0001-01-01T00:00:00</validFrom>
                      <positionName>Engineer</positionName>
                      <position>1410000</position>
                      <departmentName>Engineering</departmentName>
                      <department>1394000</department>
                      <id>449248000</id>
                      <isPrimary>1</isPrimary>
                      <created>2006-06-15T07:56:47.140229</created>
                      <createdBy>bjelkova</createdBy>
                      <modified>2006-06-15T07:56:47.140229</modified>
                      <modifiedBy>bjelkova</modifiedBy>
                      <name1>Andrlík</name1>
                      <name3>Jan</name3>
                   </EMPLOYEE>
                </EMPLOYEES>
                <RELATIONS/>
             </COMPANY>
          </wsdl:UpdateContact>
       </soapenv:Body>
    </soapenv:Envelope>
    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    1555 view(s), 2 edit(s), and 16689 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments