LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
ProcessTasksLabels
Process tasks labels
Тест
Форма для тестирования доступна только для запросов от локальных компьютеров.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/ProcessTasksLabels" <?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> <ProcessTasksLabels 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> </ProcessTasksLabels> </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> <ProcessTasksLabelsResponse xmlns="https://sync.leadertask.net/"> <ProcessTasksLabelsResult> <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> <LionTaskLabel> <Uid xmlns="">string</Uid> <EmailUser xmlns="">string</EmailUser> <TaskUID xmlns="">string</TaskUID> <LabelUID xmlns="">string</LabelUID> </LionTaskLabel> <LionTaskLabel> <Uid xmlns="">string</Uid> <EmailUser xmlns="">string</EmailUser> <TaskUID xmlns="">string</TaskUID> <LabelUID xmlns="">string</LabelUID> </LionTaskLabel> </list_add_objects> </ProcessTasksLabelsResult> </ProcessTasksLabelsResponse> </soap:Body> </soap:Envelope>