RelatedAsset

Description

Represents an asset that is related to another asset. This type must be nested within an asset.

Parameters

Attribute Description Required
type The relationship type for the related asset Yes

Parameters specified as nested elements

asset

You can specify individual assets that will be related to the parent asset.

assetList

You can specify a list of assets that will be related to the parent asset.

search

You can specify a search, and all assets that are returned will be related to the parent asset.

Examples

Submit an asset with one related asset

<submit server="ramServer">
   <asset>
      <name>My Asset</name>
      <version>1.0</version>
      <community>Community A</community>
      <assetType>Component</assetType>
      <shortDescription>This is my asset!</shortDescription>
      <relatedAsset type="Dependent">
         <asset guid="{0000-1111-2222-3333}" version="1.1" />
      </relatedAsset>
   </asset>
</submit>

Submit an asset with a list of related assets

<submit server="ramServer">
   <asset>
      <name>My Asset</name>
      <version>1.0</version>
      <community>Community A</community>
      <assetType>Component</assetType>
      <shortDescription>This is my asset!</shortDescription>
      <relatedAsset type="Dependent">
         <assetList>{0000-1111-2222-3333}/1.1;{2222-3333-4444-5555}/2.4</assetList>
      </relatedAsset>
   </asset>
</submit>