LeaderTaskSyncService
Для получения полного списка операций щелкните здесь.
GetKey
Get key for product
Тест
Чтобы протестировать операцию с использованием 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/GetKey" <?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> <GetKey xmlns="https://sync.leadertask.net/"> <name>string</name> <password>string</password> <productname>string</productname> </GetKey> </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> <GetKeyResponse xmlns="https://sync.leadertask.net/"> <GetKeyResult> <error_code>int</error_code> <error_string>string</error_string> <name>string</name> <key>string</key> <email>string</email> </GetKeyResult> </GetKeyResponse> </soap:Body> </soap:Envelope>
HTTP GET
В следующем примере показан HTTP-запрос GET и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.
GET /LeaderTaskSyncService.asmx/GetKey?name=string&password=string&productname=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"?> <GetKey_Response xmlns="https://sync.leadertask.net/"> <error_code>int</error_code> <error_string>string</error_string> <name>string</name> <key>string</key> <email>string</email> </GetKey_Response>
HTTP POST
В следующем примере показан HTTP-запрос POST и ответ на него. Вместо элементов-заполнителей следует подставить фактические значения.
POST /LeaderTaskSyncService.asmx/GetKey HTTP/1.1 Host: sync.leadertask.net Content-Type: application/x-www-form-urlencoded Content-Length: length name=string&password=string&productname=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GetKey_Response xmlns="https://sync.leadertask.net/"> <error_code>int</error_code> <error_string>string</error_string> <name>string</name> <key>string</key> <email>string</email> </GetKey_Response>