Action – GetItemsForStructureBrowser - erdomke/Innovator.Client GitHub Wiki

AML Query

<!-- SOAP_ACTION = ApplyAML or ApplyItem -->
<Item type="Method" action="GetItemsForStructureBrowser">
  <Item type="{Item Type}" id="{ID}" action="GetItemsForStructureBrowser" levels="{# of Levels}" />
</Item>

Example (Input):

<Item type="Method" action="GetItemsForStructureBrowser">
  <Item type="Part" id="A91A334AD8E2440BBF31DBE66B65F629" action="GetItemsForStructureBrowser" levels="2" />
</Item>

Example (Result):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item type="Part" id="A91A334AD8E2440BBF31DBE66B65F629" 
            icon="../Solutions/PLM/images/Icons/16x16/16x16_Part.gif"
            keyed_name="Part - A1 - D.2" loaded="1">
        <relatedItems>
          <Item type="Part" id="EB1CA3AB7DF64003984FF0F327A277ED" 
                icon="../Solutions/PLM/images/Icons/16x16/16x16_Part.gif"
                keyed_name="Part - C1 - A.4" loaded="1"></Item>
          <Item type="Part" id="22D0EDA296BD46528646C493A852A202" 
                icon="../Solutions/PLM/images/Icons/16x16/16x16_Part.gif"
                keyed_name="Part - C2 - A.2" loaded="1">
            <relatedItems>
              <Item type="Part" id="C878BE068902429DA237B0BF35A62F88"
                    icon="../Solutions/PLM/images/Icons/16x16/16x16_Part.gif"
                    keyed_name="Part - C2.1 - A.1"></Item>
              <Item type="Part" id="23A85F494F3D481F84F8F303A1272CDE"
                    icon="../Solutions/PLM/images/Icons/16x16/16x16_Part.gif"
                    keyed_name="Part - C2.2 - B.1"></Item>
            </relatedItems>
          </Item>
        </relatedItems>
      </Item>
    </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
⚠️ **GitHub.com Fallback** ⚠️