Авторизация


URL: components/services/login.asmx

Метод: Authenticate

Передаваемые параметры

ПараметрОписание
loginЛогин
passwordПароль
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:str="http://streamline/">
   <soapenv:Header/>
   <soapenv:Body>
      <str:Authenticate>
         <str:login>string</str:login>
         <str:password>string</str:password>
      </str:Authenticate>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемые параметры

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
ErrorMessageВозможные ошибки при авторизации
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <AuthenticateResponse xmlns="http://streamline/">
         <AuthenticateResult xmlns:a="http://schemas.datacontract.org/2004/07/SL.Web.Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ASPNETSessionId>string</a:ASPNETSessionId>
            <a:ErrorMessage/>string</ErrorMessage>
         </AuthenticateResult>
      </AuthenticateResponse>
   </s:Body>
</s:Envelope>