LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
ClearSessionChanges
Clear session changes
Тест
Чтобы протестировать операцию с использованием HTTP-протокола POST, нажмите кнопку "Запуск".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/ClearSessionChanges" <?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> <ClearSessionChanges xmlns="https://sync.leadertask.net/"> <str_uid_session>string</str_uid_session> <str_order>string</str_order> </ClearSessionChanges> </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> <ClearSessionChangesResponse xmlns="https://sync.leadertask.net/"> <ClearSessionChangesResult> <error_code>int</error_code> <error_string>string</error_string> </ClearSessionChangesResult> </ClearSessionChangesResponse> </soap:Body> </soap:Envelope>
HTTP GET
В следующем примере показан HTTP-запрос GET и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.
GET /LeaderTaskSyncService.asmx/ClearSessionChanges?str_uid_session=string&str_order=string HTTP/1.1 Host: sync.leadertask.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ClearSessionChanges_Response xmlns="https://sync.leadertask.net/"> <error_code>int</error_code> <error_string>string</error_string> </ClearSessionChanges_Response>
HTTP POST
В следующем примере показан HTTP-запрос POST и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.
POST /LeaderTaskSyncService.asmx/ClearSessionChanges HTTP/1.1 Host: sync.leadertask.net Content-Type: application/x-www-form-urlencoded Content-Length: length str_uid_session=string&str_order=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ClearSessionChanges_Response xmlns="https://sync.leadertask.net/"> <error_code>int</error_code> <error_string>string</error_string> </ClearSessionChanges_Response>