CreateCertificateIssueRequestFromFile - 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">
	<soapenv:Header/>
	<soapenv:Body>
		<syn:CreateCertificateIssueRequestFromFile>
			<syn:authToken>caa251ef-13b5-42b5-a826-9578a1127519</syn:authToken>
			<syn:boxId>[email protected]</syn:boxId>
			<syn:request>
				<mid:CloudProviderType>
					<mid:Code>1</mid:Code>
				</mid:CloudProviderType>
				<mid:File>
					<mid:Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0id2luZG93cy0xMjUxIj8+DQo8cmVnUmVxdWVzdCB2ZXJzaW9uPSIzLjEiIGRhdGVUaW1lPSIyOC4wMy4yMDE4IDEyOjI4OjUwIiBpZD0iNGU3OGYzZDRiYzNjNDNhYWFiMDQyOTI3ZThiMmEzNTAiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiPg0KICA8dHlwZT4xPC90eXBlPg0KICA8YWJuR3VpZCAvPg0KICA8b2ZmaWNlR3VpZCAvPg0KICA8Y2F0ZWdvcnk+MTwvY2F0ZWdvcnk+DQogIDxzdG9yYWdlVHlwZT4xPC9zdG9yYWdlVHlwZT4NCiAgPGFiblR5cGU+MTwvYWJuVHlwZT4NCiAgPGlubj4zMjIxMzk5NTE5PC9pbm4+DQogIDxrcHA+MzIyMTAxMDAxPC9rcHA+DQogIDxmdWxsTmFtZT7PwM4gzufl8O376TwvZnVsbE5hbWU+DQogIDxwaG9uZSAvPg0KICA8bW9iaWxlUGhvbmU+ODk1MDgzMjgxOTg8L21vYmlsZVBob25lPg0KICA8c2hvcnROYW1lPs/AziDO5+Xw7fvpP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8cGFzc3BvcnRUeXBlPjIxPC9wYXNzcG9ydFR5cGU+DQogICAgICA8cGFzc3BvcnRTZXJpYWw+MDA1NDYzPC9wYXNzcG9ydFNlcmlhbD4NCiAgICAgIDxwYXNzcG9ydE51bWJlcj45NDA5PC9wYXNzcG9ydE51bWJlcj4NCiAgICAgIDxwYXNzcG9ydERhdGU+MTQuMDcuMjAwOTwvcGFzc3BvcnREYXRlPg0KICAgICAgPHBhc3Nwb3J0Q29tbWVudD7u8uTl6+7sINPUzNEg0O7x8ejoIO/uINPk8fPw8vHq7ukg8OXx7/Ph6+jq5SDiIM7q8v/h8Pzx6u7sIPAt7eUg4+7w7uTgIMjm5eLx6uA8L3Bhc3Nwb3J0Q29tbWVudD4NCiAgICAgIDxwYXNzcG9ydFVuaXQ+MTIzLTAwOTwvcGFzc3BvcnRVbml0Pg0KICAgIDwvbWVtYmVyPg0KICA8L21lbWJlcnM+DQogIDxwbHVnaW5zPg0KICAgIDxwbHVnaW4gZ3VpZD0iNDY0NzJGQkEtMDY5Ri00RDQxLTlFNDktNzM2REY5MTRDQ0QxIiAvPg0KICA8L3BsdWdpbnM+DQo8L3JlZ1JlcXVlc3Q+</mid:Content>
				</mid:File>
				<mid:IntegrationProjectId>caa251ef-13b5-42b5-a826-9578a1127519</mid:IntegrationProjectId>
			</syn:request>
		</syn:CreateCertificateIssueRequestFromFile>
	</soapenv:Body>
</soapenv:Envelope>

Ответ:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
	<s:Body>
		<CreateCertificateIssueRequestFromFileResponse xmlns="http://synerdocs.ru">
			<CreateCertificateIssueRequestFromFileResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
				<a:Result>
					<a:CloudProviderType>
						<a:Code>1</a:Code>
						<a:Description>ЗАО "Калуга Астрал"</a:Description>
						<a:Name>KalugaAstral</a:Name>
					</a:CloudProviderType>
					<a:CloudSubscriberId/>
					<a:Id>2fc77787-c633-44c1-8e70-fcb6fb34699d</a:Id>
					<a:IntegrationProjectId>caa251ef-13b5-42b5-a826-9578a1127519</a:IntegrationProjectId>
					<a:Organization>
						<a:ActualAddress i:nil="true"/>
						<a:Email>[email protected]</a:Email>
						<a:FullName>ПАО Озерный</a:FullName>
						<a:Inn>3221399519</a:Inn>
						<a:Kpp>322101001</a:Kpp>
						<a:LegalAddress>
							<a:Apartment>25</a:Apartment>
							<a:Building>а</a:Building>
							<a:City>Брянск</a:City>
							<a:District/>
							<a:House>25</a:House>
							<a:Locality/>
							<a:PostalCode>241000</a:PostalCode>
							<a:RegionCode>32</a:RegionCode>
							<a:Street>Мира</a:Street>
						</a:LegalAddress>
						<a:MobilePhoneNumber>89508328198</a:MobilePhoneNumber>
						<a:Ogrn>1126730103015</a:Ogrn>
						<a:OrganizationType>
							<a:Code>1</a:Code>
							<a:Description>Юридическое лицо</a:Description>
							<a:Name>LegalEntity</a:Name>
						</a:OrganizationType>
						<a:PhoneNumber/>
						<a:ShortName>ПАО Озерный</a:ShortName>
					</a:Organization>
					<a:PartnerId/>
					<a:Representative>
						<a:BirthDate>23.11.1988</a:BirthDate>
						<a:BirthPlace>с. Сигаево Сарапуского района Удмуртской АССР</a:BirthPlace>
						<a:Citizenship>RUS</a:Citizenship>
						<a:Email>[email protected]</a:Email>
						<a:FullName>
							<a:FirstName>Градский</a:FirstName>
							<a:LastName>Владимир</a:LastName>
							<a:MiddleName>Георгиевич</a:MiddleName>
						</a:FullName>
						<a:Gender>
							<a:Code>1</a:Code>
							<a:Description>Мужской</a:Description>
							<a:Name>Male</a:Name>
						</a:Gender>
						<a:IdentityDocument>
							<a:IdentityDocumentType>
								<a:Code>21</a:Code>
								<a:Description>Паспорт гражданина РФ</a:Description>
								<a:Name>RussianCitizenPassport</a:Name>
							</a:IdentityDocumentType>
							<a:IssueDate>2009-07-14T00:00:00</a:IssueDate>
							<a:IssuedBy>отделом УФМС России по Удсуртской республике в Октябрьском р-не города Ижевска</a:IssuedBy>
							<a:IssuerDepartmentCode>123-009</a:IssuerDepartmentCode>
							<a:Number>9409</a:Number>
							<a:Series>005463</a:Series>
						</a:IdentityDocument>
						<a:MobilePhoneNumber i:nil="true"/>
						<a:OrganizationalUnit i:nil="true"/>
						<a:Position>Генеральный директор</a:Position>
						<a:SignQualification>
							<a:Code>3</a:Code>
							<a:Description>Директор и бухгалтер</a:Description>
							<a:Name>DirectorAndAccountant</a:Name>
						</a:SignQualification>
						<a:Snils>96791645889</a:Snils>
					</a:Representative>
					<a:RequestType>
						<a:Code>1</a:Code>
						<a:Description>Регистрация</a:Description>
						<a:Name>Registration</a:Name>
					</a:RequestType>
				</a:Result>
				<a:ValidationResult>
					<a:Fields/>
					<a:Messages/>
					<a:Name i:nil="true"/>
					<a:Status>
						<a:Code>0</a:Code>
						<a:Description>Успешная проверка</a:Description>
						<a:Name>Success</a:Name>
					</a:Status>
				</a:ValidationResult>
			</CreateCertificateIssueRequestFromFileResult>
		</CreateCertificateIssueRequestFromFileResponse>
	</s:Body>
</s:Envelope>
⚠️ **GitHub.com Fallback** ⚠️