UpdateEmployeeAdministratorAuthority - 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:UpdateEmployeeAdministratorAuthority>
			<syn:credentials>
				<mid:AuthToken>20d0587d-6378-4a48-bc2c-68d9fcc05232</mid:AuthToken>
				<mid:BoxAddress>[email protected]</mid:BoxAddress>
			</syn:credentials>
			<syn:request>
				<mid:EmployeeId>3488ad13-0c1d-4878-b63c-5d20c4d8f080</mid:EmployeeId>
				<mid:IsAdmin>true</mid:IsAdmin>
			</syn:request>
		</syn:UpdateEmployeeAdministratorAuthority>
	</soapenv:Body>
</soapenv:Envelope>

Ответ:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
	<s:Body>
		<UpdateEmployeeAdministratorAuthorityResponse xmlns="http://synerdocs.ru">
			<UpdateEmployeeAdministratorAuthorityResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
				<a:Status>
					<a:Code>0</a:Code>
					<a:Description>Операция выполнена успешно</a:Description>
					<a:Name>Success</a:Name>
				</a:Status>
				<a:ValidationResult i:nil="true"/>
			</UpdateEmployeeAdministratorAuthorityResult>
		</UpdateEmployeeAdministratorAuthorityResponse>
	</s:Body>
</s:Envelope>
⚠️ **GitHub.com Fallback** ⚠️