LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
PutCategories
Put full categories by request
Тест
Форма для тестирования доступна только для запросов от локальных компьютеров.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/PutCategories" <?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> <PutCategories xmlns="https://sync.leadertask.net/"> <tags> <LionTag> <__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_backcolor xmlns="">string</__usn_field_backcolor> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <BackColor xmlns="">string</BackColor> </LionTag> <LionTag> <__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_backcolor xmlns="">string</__usn_field_backcolor> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <BackColor xmlns="">string</BackColor> </LionTag> </tags> <name>string</name> <password>string</password> <str_uid_session>string</str_uid_session> <objects_to_remove> <ObjClient_ToRemove> <_str_uid>string</_str_uid> </ObjClient_ToRemove> <ObjClient_ToRemove> <_str_uid>string</_str_uid> </ObjClient_ToRemove> </objects_to_remove> </PutCategories> </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> <PutCategoriesResponse xmlns="https://sync.leadertask.net/"> <PutCategoriesResult> <error_code>int</error_code> <error_string>string</error_string> <list_change_objects> <LionTag> <__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_backcolor xmlns="">string</__usn_field_backcolor> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <BackColor xmlns="">string</BackColor> </LionTag> <LionTag> <__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_backcolor xmlns="">string</__usn_field_backcolor> <Uid xmlns="">string</Uid> <UidParent xmlns="">string</UidParent> <EmailCreator xmlns="">string</EmailCreator> <Order xmlns="">string</Order> <Collapsed xmlns="">string</Collapsed> <Group xmlns="">string</Group> <Show xmlns="">string</Show> <Favorite xmlns="">string</Favorite> <Name xmlns="">string</Name> <Comment xmlns="">string</Comment> <BackColor xmlns="">string</BackColor> </LionTag> </list_change_objects> <list_failed_objects> <FailedObject> <uid>string</uid> <error_string>string</error_string> </FailedObject> <FailedObject> <uid>string</uid> <error_string>string</error_string> </FailedObject> </list_failed_objects> <list_delete_objects> <string>string</string> <string>string</string> </list_delete_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> </PutCategoriesResult> </PutCategoriesResponse> </soap:Body> </soap:Envelope>