MoveDraftMessageV2 - Synerdocs/synerdocs-sdk GitHub Wiki

[‎17.‎12.‎2020 16:14] Рябец Станислав (Ryabets_SS): Запрос:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:syn="http://synerdocs.ru" xmlns:mid="http://schemas.datacontract.org/2004/07/Midway.ObjectModel">
   <soapenv:Header/>
   <soapenv:Body>
      <syn:MoveDraftMessageV2>
         <!--Optional:-->
         <syn:credentials>
            <mid:AuthToken>5768828d-d134-4fb8-be1c-0e1da23ca7a7</mid:AuthToken>
            <mid:BoxAddress>[email protected]</mid:BoxAddress>
         </syn:credentials>
         <!--Optional:-->
         <syn:settings xmlns:mid="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="mid:DraftMessageEmployeeMovingSettings">
            <mid:DraftMessageId>a54f71ae-0b3e-4396-8d91-de5d33e9037a</mid:DraftMessageId>
            <mid:EmployeeId>1F89C390-A103-4D9D-A74D-CC39789C9E6B</mid:EmployeeId>
         </syn:settings>
      </syn:MoveDraftMessageV2>
   </soapenv:Body>
</soapenv:Envelope>

Ответ:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <MoveDraftMessageV2Response xmlns="http://synerdocs.ru"/>
   </s:Body>
</s:Envelope>
⚠️ **GitHub.com Fallback** ⚠️