GetSignatureContent - Synerdocs/synerdocs-sdk GitHub Wiki
Метод доступен в сервисе SignatureServiceV1.svc
Запрос:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:syn="http://synerdocs.ru">
<soapenv:Header/>
<soapenv:Body>
<syn:GetSignatureContent>
<!--Токен пользователя-->
<!--Должен быть указан токен пользователя, который отправлял запрос на создание подписи-->
<syn:token>196c829e-d056-49d3-aa89-1a97531c8ba2</syn:token>
<!--ИД подписи-->
<!--Возвращается в ответе при вызове метода CreateCloudSignature-->
<syn:signatureId>439170ec-3b53-4652-9630-b370ab738625</syn:signatureId>
</syn:GetSignatureContent>
</soapenv:Body>
</soapenv:Envelope>
Ответ:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<GetSignatureContentResponse xmlns="http://synerdocs.ru">
<GetSignatureContentResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.Signatures.API.Models" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<!--Контент созданной ЭП в Base64-->
<a:Content>MIILdQYJKoZIhvcNAQcCoIILZjCCC2ICAQExDjAMBggqhQMHAQECAgUAMAsGCSqGSIb3DQEHAaCCB0cwggdDMIIG7qADAgECAhAB1jp17ygq4AAAABUDQQACMAwGCCqFAwcBAQMCBQAwggFLMUEwPwYDVQQDDDjQotC10YHRgtC+0LLRi9C5INCj0KYg0JfQkNCeICLQmtCQ0JvQo9CT0JAg0JDQodCi0KDQkNCbIjErMCkGA1UECgwi0JfQkNCeICLQmtCQ0JvQo9CT0JAg0JDQodCi0KDQkNCbIjELMAkGA1UEBhMCUlUxLTArBgNVBAgMJDQwINCa0LDQu9GD0LbRgdC60LDRjyDQvtCx0LvQsNGB0YLRjDEVMBMGA1UEBwwM0JrQsNC70YPQs9CwMSAwHgYJKoZIhvcNAQkBFhFjYUBhc3RyYWxuYWxvZy5ydTEuMCwGA1UECQwl0L/QtdGALiDQotC10YDQtdC90LjQvdGB0LrQuN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gNjEaMBgGCCqFAwOBAwEBEgwwMDQwMjkwMTc5ODExGDAWBgUqhQNkARINMTAyNDAwMTQzNDA0OQIQAdY6de8oKuAAAAAVA0EAAjAMBggqhQMHAQEBAQUABEDcuMYUFrleowT/7EqksEeaUcseHq49sEPsCsRY7bzBT0XVEnMQ2/NsJjIDsZ65Z+Fwma0wqiYpEIpNDvntvGRG</a:Content>
<a:SignatureId>439170ec-3b53-4652-9630-b370ab738625</a:SignatureId>
</GetSignatureContentResult>
</GetSignatureContentResponse>
</s:Body>
</s:Envelope>