GetDraftMessage - Synerdocs/synerdocs-sdk GitHub Wiki
Запрос:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:syn="http://synerdocs.ru">
<soapenv:Header/>
<soapenv:Body>
<syn:GetDraftMessage>
<syn:authToken>5768828d-d134-4fb8-be1c-0e1da23ca7a7</syn:authToken>
<syn:messageId>a54f71ae-0b3e-4396-8d91-de5d33e9037a</syn:messageId>
<syn:getContent>true</syn:getContent>
<syn:getCard>true</syn:getCard>
</syn:GetDraftMessage>
</soapenv:Body>
</soapenv:Envelope>
Ответ:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetDraftMessageResponse xmlns="http://synerdocs.ru">
<GetDraftMessageResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:BindDocuments>false</a:BindDocuments>
<a:CreateDate>2020-12-17T09:07:23.3417932</a:CreateDate>
<a:Documents>
<a:DraftDocument>
<a:Card>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0id2luZG93cy0xMjUxIj8+DQo8yuDw8u736uAgyOTU4OnrPSJXQl9ET0NDQVJEXzE3MTIyMDIwX2Y2NzYwYzIxLTFiYzUtNGJmYy05NWVhLTQ3ZjBlNTk0ZjY1OSIgwuXw8dTu8Ow9IjEuMDAiIM3g6OzE7uo9ItLl8fIiIHhtbG5zPSJodHRwOi8vc3luZXJkb2NzLnJ1L2NhcmRzY2hlbWFzL3N5bmVyZG9jc19kb2N1bWVudF9jYXJkX3diLnhzZCI+DQogIDzE7urz7OXt8iDS6O/E7uo9IsTu4+7i7vAiIMTg8uDE7uo9IjE3LjEyLjIwMjAiIM3u7OXwxO7qPSIxMjMiIC8+DQo8L8rg8PLu9+rgPg==</a:Card>
<a:Comment i:nil="true"/>
<a:Content>VmVyc2lvbj1JU0I3DQpTeXN0ZW1Db2RlPVRFSEtBU05QTw0KQ29tcG9uZW50VHlwZT0xMA0KSUQ9MjAzNTQ3NjYNClZpZXdDb2RlPQ0K</a:Content>
<a:ConversionSettings i:nil="true"/>
<a:DocumentFlowParticipants/>
<a:DocumentType>Untyped</a:DocumentType>
<a:DocumentTypeEnum>
<a:Code>0</a:Code>
<a:Description>Неформализованный</a:Description>
<a:Name>Untyped</a:Name>
</a:DocumentTypeEnum>
<a:DocumentTypeInfo>
<a:DocumentType>
<a:Code>0</a:Code>
<a:Description>Неформализованный</a:Description>
<a:Name>Untyped</a:Name>
</a:DocumentType>
<a:Purposes/>
<a:UntypedKind i:nil="true"/>
<a:VersionNumber i:nil="true"/>
</a:DocumentTypeInfo>
<a:FileName>123.bin</a:FileName>
<a:FileSize>78</a:FileSize>
<a:Id>0077f9a5-8aeb-454a-9939-ed8f9ad3226a</a:Id>
<a:Name>123.bin</a:Name>
<a:NeedReceipt>false</a:NeedReceipt>
<a:NeedSign>false</a:NeedSign>
<a:ParentDocumentId i:nil="true"/>
<a:SendOnlyToDocumentFlowParticipants i:nil="true"/>
<a:UntypedKind i:nil="true"/>
<a:ValidationStatus>
<a:Code>1</a:Code>
<a:Description>Успешно</a:Description>
<a:Name>Success</a:Name>
</a:ValidationStatus>
</a:DraftDocument>
</a:Documents>
<a:ForwardDocuments/>
<a:Id>a54f71ae-0b3e-4396-8d91-de5d33e9037a</a:Id>
<a:InternalRecipients/>
<a:Recipients/>
<a:RelatedDocuments/>
<a:SendMode>External</a:SendMode>
<a:SenderBoxId>[email protected]</a:SenderBoxId>
</GetDraftMessageResult>
</GetDraftMessageResponse>
</s:Body>
</s:Envelope>