Содержание

Отправка данных на почту пользователю Системы


URL: components/Services/APIService.asmx

Метод: SendMail

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
emailsАдрес(а)
subjectТема письма
bodyТело письма
documentsМассив данных документов DocumentsWrapper, который содержит:
DocumentName - название файла-вложения вместе с расширением;
DocumentBody - файл в кодировке base64.
DocumentContentTypeТип загружаемого файла
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SendMail>
         <tem:ASPNETSessionId>string</tem:ASPNETSessionId>
         <tem:emails>
            <tem:string>string</tem:string>
         </tem:emails>
         <tem:subject>string</tem:subject>
         <tem:body>string</tem:body>
         <tem:documents>
            <tem:DocumentsWrapper>
               <tem:DocumentName>string</tem:DocumentName>
               <tem:DocumentBody>string</tem:DocumentBody>
               <tem:DocumentContentType>string</tem:DocumentContentType>
            </tem:DocumentsWrapper>
         </tem:documents>
      </tem:SendMail>
   </soapenv:Body>
</soapenv:Envelope>

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

ПараметрОписание
SendMailResponseРезультат выполнения
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SendMailResponse xmlns="http://tempuri.org/"/>
   </s:Body>
</s:Envelope>