LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
ProcessContactsFotos
Process contacts fotos
Тест
Форма для тестирования доступна только для запросов от локальных компьютеров.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/ProcessContactsFotos" <?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> <ProcessContactsFotos 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> </ProcessContactsFotos> </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> <ProcessContactsFotosResponse xmlns="https://sync.leadertask.net/"> <ProcessContactsFotosResult> <error_code>int</error_code> <error_string>string</error_string> <list_send_objects> <string>string</string> <string>string</string> </list_send_objects> <list_need_download_objects> <string>string</string> <string>string</string> </list_need_download_objects> <list_new_objects> <string>string</string> <string>string</string> </list_new_objects> </ProcessContactsFotosResult> </ProcessContactsFotosResponse> </soap:Body> </soap:Envelope>