LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
ProcessProjects
Process projects
Тест
Форма для тестирования доступна только для запросов от локальных компьютеров.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/ProcessProjects" <?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> <ProcessProjects 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> </ProcessProjects> </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> <ProcessProjectsResponse xmlns="https://sync.leadertask.net/"> <ProcessProjectsResult> <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> <LionProject> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Quiet xmlns="">string</Quiet> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <IsClosed xmlns="">string</IsClosed> <Emails xmlns="">string</Emails> <Plugin xmlns="">string</Plugin> <Color xmlns="">string</Color> <__usn_entity xmlns="">string</__usn_entity> <__usn_field_name xmlns="">string</__usn_field_name> <__usn_field_uid_parent xmlns="">string</__usn_field_uid_parent> <__usn_field_comment xmlns="">string</__usn_field_comment> <__usn_field_order xmlns="">string</__usn_field_order> <__usn_field_collapsed xmlns="">string</__usn_field_collapsed> <__usn_field_group xmlns="">string</__usn_field_group> <__usn_field_show xmlns="">string</__usn_field_show> <__usn_field_favorite xmlns="">string</__usn_field_favorite> <__usn_field_isclosed xmlns="">string</__usn_field_isclosed> <__usn_field_list_members xmlns="">string</__usn_field_list_members> <__usn_field_quiet xmlns="">string</__usn_field_quiet> <__usn_field_plugin xmlns="">string</__usn_field_plugin> <__usn_field_color xmlns="">string</__usn_field_color> </LionProject> <LionProject> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Quiet xmlns="">string</Quiet> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <IsClosed xmlns="">string</IsClosed> <Emails xmlns="">string</Emails> <Plugin xmlns="">string</Plugin> <Color xmlns="">string</Color> <__usn_entity xmlns="">string</__usn_entity> <__usn_field_name xmlns="">string</__usn_field_name> <__usn_field_uid_parent xmlns="">string</__usn_field_uid_parent> <__usn_field_comment xmlns="">string</__usn_field_comment> <__usn_field_order xmlns="">string</__usn_field_order> <__usn_field_collapsed xmlns="">string</__usn_field_collapsed> <__usn_field_group xmlns="">string</__usn_field_group> <__usn_field_show xmlns="">string</__usn_field_show> <__usn_field_favorite xmlns="">string</__usn_field_favorite> <__usn_field_isclosed xmlns="">string</__usn_field_isclosed> <__usn_field_list_members xmlns="">string</__usn_field_list_members> <__usn_field_quiet xmlns="">string</__usn_field_quiet> <__usn_field_plugin xmlns="">string</__usn_field_plugin> <__usn_field_color xmlns="">string</__usn_field_color> </LionProject> </list_add_objects> </ProcessProjectsResult> </ProcessProjectsResponse> </soap:Body> </soap:Envelope>