LeaderTaskSyncService


Для получения полного списка операций щелкните здесь.

ChangePassword

Change password

Тест

Чтобы протестировать операцию с использованием HTTP-протокола POST, нажмите кнопку "Запуск".
Параметр Значение
name:
old_password:
new_password:

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/ChangePassword"

<?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>
    <ChangePassword xmlns="https://sync.leadertask.net/">
      <name>string</name>
      <old_password>string</old_password>
      <new_password>string</new_password>
    </ChangePassword>
  </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>
    <ChangePasswordResponse xmlns="https://sync.leadertask.net/">
      <ChangePasswordResult>
        <error_code>int</error_code>
        <error_string>string</error_string>
      </ChangePasswordResult>
    </ChangePasswordResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

В следующем примере показан HTTP-запрос GET и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.

GET /LeaderTaskSyncService.asmx/ChangePassword?name=string&old_password=string&new_password=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"?>
<ChangePassword_Response xmlns="https://sync.leadertask.net/">
  <error_code>int</error_code>
  <error_string>string</error_string>
</ChangePassword_Response>

HTTP POST

В следующем примере показан HTTP-запрос POST и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.

POST /LeaderTaskSyncService.asmx/ChangePassword HTTP/1.1
Host: sync.leadertask.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

name=string&old_password=string&new_password=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ChangePassword_Response xmlns="https://sync.leadertask.net/">
  <error_code>int</error_code>
  <error_string>string</error_string>
</ChangePassword_Response>