LeaderTaskSyncService


Для получения полного списка операций щелкните здесь.

ProcessContactsFiles

Process contacts files

Тест

Форма для тестирования доступна только для запросов от локальных компьютеров.

SOAP 1.1

В следующем примере показаны запрос и ответ SOAP 1.1. Вместо элементов-заполнителей следует подставить фактические значения.

POST /LeaderTaskSyncService.asmx HTTP/1.1
Host: sync.leadertask.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://sync.leadertask.net/ProcessContactsFiles"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessContactsFiles xmlns="https://sync.leadertask.net/">
      <objects_to_verify>
        <ObjClient_ToVerify>
          <_str_uid>string</_str_uid>
          <_usn_entity>int</_usn_entity>
        </ObjClient_ToVerify>
        <ObjClient_ToVerify>
          <_str_uid>string</_str_uid>
          <_usn_entity>int</_usn_entity>
        </ObjClient_ToVerify>
      </objects_to_verify>
      <objects_to_remove>
        <ObjClient_ToRemove>
          <_str_uid>string</_str_uid>
        </ObjClient_ToRemove>
        <ObjClient_ToRemove>
          <_str_uid>string</_str_uid>
        </ObjClient_ToRemove>
      </objects_to_remove>
      <name>string</name>
      <password>string</password>
      <str_uid_session>string</str_uid_session>
    </ProcessContactsFiles>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessContactsFilesResponse xmlns="https://sync.leadertask.net/">
      <ProcessContactsFilesResult>
        <error_code>int</error_code>
        <error_string>string</error_string>
        <list_delete_objects>
          <string>string</string>
          <string>string</string>
        </list_delete_objects>
        <list_send_objects>
          <string>string</string>
          <string>string</string>
        </list_send_objects>
        <list_process_deleted>
          <DeletedObject>
            <uid>string</uid>
            <error_string>string</error_string>
          </DeletedObject>
          <DeletedObject>
            <uid>string</uid>
            <error_string>string</error_string>
          </DeletedObject>
        </list_process_deleted>
        <list_add_objects>
          <LionContactFile>
            <Uid xmlns="">string</Uid>
            <ContactUID xmlns="">string</ContactUID>
            <FileUID xmlns="">string</FileUID>
            <EmailCreator xmlns="">string</EmailCreator>
            <Order xmlns="">string</Order>
            <FileName xmlns="">string</FileName>
            <FileSize xmlns="">string</FileSize>
            <FileVersion xmlns="">string</FileVersion>
            <__usn_entity xmlns="">string</__usn_entity>
            <__usn_field_order xmlns="">string</__usn_field_order>
            <__usn_field_name xmlns="">string</__usn_field_name>
            <__usn_field_size xmlns="">string</__usn_field_size>
            <__usn_field_version xmlns="">string</__usn_field_version>
          </LionContactFile>
          <LionContactFile>
            <Uid xmlns="">string</Uid>
            <ContactUID xmlns="">string</ContactUID>
            <FileUID xmlns="">string</FileUID>
            <EmailCreator xmlns="">string</EmailCreator>
            <Order xmlns="">string</Order>
            <FileName xmlns="">string</FileName>
            <FileSize xmlns="">string</FileSize>
            <FileVersion xmlns="">string</FileVersion>
            <__usn_entity xmlns="">string</__usn_entity>
            <__usn_field_order xmlns="">string</__usn_field_order>
            <__usn_field_name xmlns="">string</__usn_field_name>
            <__usn_field_size xmlns="">string</__usn_field_size>
            <__usn_field_version xmlns="">string</__usn_field_version>
          </LionContactFile>
        </list_add_objects>
      </ProcessContactsFilesResult>
    </ProcessContactsFilesResponse>
  </soap:Body>
</soap:Envelope>