Relationship Data
The Relationship Data represents various relations of a record.
The following partial XML message shows the format generated for relationship data:
<RelationshipData> <Relationship> <RelationType>ContainedBy</RelationType> <RelatedItems count="1"> <RelatedItem referenceKey="18361"> <Attribute name="quantity"> <Value>1</Value> </Attribute> </RelatedItem> </RelatedItems> </Relationship> </RelationshipData> </CatalogItem> <CatalogItem key="18361"> <LineNumber>2</LineNumber> ... <ItemData> <Attribute name="PRODUCTIDEXT"> <Value>2</Value> </Attribute> <Attribute name="PRODUCTID"> <Value>BigB</Value> </Attribute> <Attribute name="SHORTDESC"> <Value>prod B</Value> </Attribute> </ItemData> <ActionLog/> <RelationshipData> <Relationship> <RelationType>ContainedBy</RelationType> <RelatedItems count="1"> <RelatedItem referenceKey="18360"> <Attribute name="quantity"> <Value>1</Value> </Attribute> </RelatedItem> </RelatedItems> </Relationship> <Relationship> <RelationType>Contains</RelationType> <RelatedItems count="1"> <RelatedItem referenceKey="18362"> <Attribute name="quantity"> <Value>6</Value> </Attribute> </RelatedItem> </RelatedItems> </Relationship> </RelationshipData> </CatalogItem> <CatalogItem key="18360"> <LineNumber>3</LineNumber> ... <ItemData> <Attribute name="PRODUCTIDEXT"> <Value>1</Value> </Attribute> <Attribute name="PRODUCTID"> <Value>LargeA</Value> </Attribute> <Attribute name="SHORTDESC"> <Value>prod A</Value> </Attribute> <Attribute name="IMAGE"> <Value/> </Attribute> <Attribute name="RECORD_TYPE"> <Value>TestBUNDLING</Value> </Attribute> <Attribute name="CONTAINS"> <Value>BigB:2:5:1:39038:0</Value> </Attribute> </ItemData> <ActionLog/> <RelationshipData> <Relationship> <RelationType>Contains</RelationType> <RelatedItems count="1"> <RelatedItem referenceKey="18361"> <Attribute name="quantity"> <Value>5</Value> </Attribute> </RelatedItem> </RelatedItems> </Relationship> </RelationshipData> </CatalogItem> </CatalogActionDetails>
Copyright © Cloud Software Group, Inc. All rights reserved.