SendMessage_SimpleSignatureForIncomingDocument - Synerdocs/synerdocs-sdk GitHub Wiki

Запрос:

<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" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
	<soapenv:Header/>
	<soapenv:Body>
		<syn:SendMessage>
			<syn:authToken>9628411f-525e-4ae6-bf80-043f83234b4d</syn:authToken>
			<syn:message>
				<mid:From>[email protected]</mid:From>
				<mid:Id>73d376a4-ffe4-4186-aed5-21500f874111</mid:Id>
				<mid:Recipients>
					<mid:MessageRecipient>
						<mid:OrganizationBoxId>[email protected]</mid:OrganizationBoxId>
					</mid:MessageRecipient>
				</mid:Recipients>
				<mid:SimpleSignatures>
					<mid:SimpleSignature>
						<mid:DocumentId>73d376a4-ffe4-4186-aed5-21500f874321</mid:DocumentId>
						<mid:Id>731116a4-ffe4-4186-aed5-21500f874321</mid:Id>
						<mid:Raw>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0id2luZG93cy0xMjUxIiBzdGFuZGFsb25lPSJ5ZXMiPz4NCjzP8O7x8uD/3c/E7urz7OXt8uAgxODy4NHu5+Tg7ej/PSIyMDE4LTAzLTA1VDA0OjEyOjM0LjY3Nzc0NzlaIiDC5fDx6P89IjEuMCIgyMTE7urz7OXt8uA9IjczZDM3NmE0LWZmZTQtNDE4Ni1hZWQ1LTIxNTAwZjg3NDMyMSIg1eX4wPLw6OHz8u7iPSJyMmYrWFVVU1ptVTEreHdsTkNsc1pjK21Za2lPK1NiVVZCTkdCSWhaaG9Yd2RsemxRKysvMERINEp6c2tKckd3NjczeC9uTG9nYmovRnEwMnZSZ01vZz09IiDV5fjE7urz7OXt8uA9IlRmOU9vMER3cUNQeFhUOVBBYXRpNnVEbDJsZWN5NFVmamJuZjZFeFlzck43aVpBNmRBNGU0WExhZVRwdWVkVmc1ZmY1dlFXS0VxS0FRejdXK2taUkNnPT0iIMru5M/w7uLl8OroPSJrU0c3Zk5wTHgwNllvNllqUzBSUlBGK3N6em9HblVKaFh0enI4S2JuNXNXa2JlK3JmOG44ZExlbWJsNEViTG9IclR1aUpZQjdyNUpmWFFtYTdULysrQT09Ij4NCiAgPNDl6uLo5+jy+8/w7vHy7undzyDN4Ojs5e3u4uDt6OXO8OPg7ejn4Pbo6D0iz8DOIM7n5fDt++kiIM7D0M09IjEwMTMyMjEzOTk1MTciIMjNzT0iMzIyMTM5OTUxOSIgys/PPSIzMjIxMDEwMDEiIMTu6+bt7vHy/D0ix+Di5eTz/vno6SDx6uvg5O7sILkgMSIg1MjOPSLD8ODk8ero6SDC6+Dk6Ozo8CDD5e7w4+jl4uj3IiDRzcjL0T0iOTY3OTE2NDU4ODkiIEUtbWFpbD0iZ3JhZEB6dmV6ZGEuY29tLnJmdC51YSIgyu7s7OXt8uDw6Ok9IjEyMyIgLz4NCjwvz/Du8fLg/93PxO7q8+zl7fLgPg==</mid:Raw>
					</mid:SimpleSignature>
				</mid:SimpleSignatures>
			</syn:message>
		</syn:SendMessage>
	</soapenv:Body>
</soapenv:Envelope>

Ответ:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SendMessageResponse xmlns="http://synerdocs.ru">
         <SendMessageResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:DocumentIds/>
            <a:Log i:nil="true" xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
            <a:MessageId>0363ed94-b67f-4977-bc1b-3a8673497414</a:MessageId>
            <a:SentDate>2018-03-05T04:53:39.0101728Z</a:SentDate>
            <a:SignIds>
               <a:LocalServerId>
                  <a:LocalId>731116a4-ffe4-4186-aed5-21500f874321</a:LocalId>
                  <a:ServiceId>239aaf68-57f8-46df-a32a-7a018d0d925c</a:ServiceId>
               </a:LocalServerId>
            </a:SignIds>
         </SendMessageResult>
      </SendMessageResponse>
   </s:Body>
</s:Envelope>
⚠️ **GitHub.com Fallback** ⚠️