GetOrganizationStructureElementChildren - 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:GetOrganizationStructureElementChildren>
			<syn:authToken>20d0587d-6378-4a48-bc2c-68d9fcc05232</syn:authToken>
			<!-- Пользователь, для которого получен authToken, должен иметь доступ (быть сотрудником) организации с organizationId -->
			<syn:organizationId>1478</syn:organizationId>
			<syn:orgStructureElementId>c8287208-35c6-4110-aa97-a4362a068a86</syn:orgStructureElementId>
		</syn:GetOrganizationStructureElementChildren>
	</soapenv:Body>
</soapenv:Envelope>

Ответ:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
	<s:Body>
		<GetOrganizationStructureElementChildrenResponse xmlns="http://synerdocs.ru">
			<GetOrganizationStructureElementChildrenResult xmlns:a="http://schemas.datacontract.org/2004/07/Midway.ObjectModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
				<a:OrganizationStructureElement>
					<a:AdditionalInfo i:nil="true"/>
					<a:Code>3001</a:Code>
					<a:Id>c01db91e-d26b-4982-981c-96adaeae615a</a:Id>
					<a:IsDeleted>false</a:IsDeleted>
					<a:Kpp i:nil="true"/>
					<a:Name>Склад №1</a:Name>
					<a:OrganizationId>1478</a:OrganizationId>
					<a:ParentId>c8287208-35c6-4110-aa97-a4362a068a86</a:ParentId>
				</a:OrganizationStructureElement>
				<a:OrganizationStructureElement>
					<a:AdditionalInfo i:nil="true"/>
					<a:Code>3002</a:Code>
					<a:Id>267f0926-1672-4c04-a889-e8d4246daf37</a:Id>
					<a:IsDeleted>false</a:IsDeleted>
					<a:Kpp i:nil="true"/>
					<a:Name>Склад №2</a:Name>
					<a:OrganizationId>1478</a:OrganizationId>
					<a:ParentId>c8287208-35c6-4110-aa97-a4362a068a86</a:ParentId>
				</a:OrganizationStructureElement>
			</GetOrganizationStructureElementChildrenResult>
		</GetOrganizationStructureElementChildrenResponse>
	</s:Body>
</s:Envelope>
⚠️ **GitHub.com Fallback** ⚠️