EliJDonahue
12/28/2016 - 5:27 PM

Generic example of an AML response

Generic example of an AML response

<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item type="{ITEMTYPE NAME}" typeId="{ITEMTYPE ID}" id="{ITEM ID}">
        <property_1></property_1>
        <property_2></property_2>
        ...
        <property_n></property_n>
        <!-- Item property example -->
        <item_property keyed_name="TARGET ITEM KEYED NAME" type="{TARGET ITEMTYPE NAME}">{TARGET ITEM ID}</item_property>
        
        <!-- The Relationships tag may contain multiple types of relationship itemtypes -->
        <Relationships>
          <Item type="{RELATIONSHIP ITEMTYPE NAME}" typeId="{RELATIONSHIP ITEMTYPE ID}" id="{RELATIONSHIP ITEM ID}">
            <property_1></property_1>
            <property_2></property_2>
            ...
            <property_n></property_n>
            <related_id keyed_name="RELATED ITEM KEYED NAME" type="{RELATED ITEMTYPE NAME}">
              <Item type="{ITEMTYPE NAME}" typeId="{ITEMTYPE ID}" id="{ITEM ID}">
                <property_1></property_1>
                <property_2></property_2>
                ...
                <property_n></property_n>
              </Item>
            </related_id>
            <source_id keyed_name="PARENT ITEM KEYED NAME" type="{PARENT ITEMTYPE NAME}">{PARENT ITEM ID}</source_id>
          </Item>
        </Relationships>
      </Item>
    </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>