AssetServicesGetRelatedAssets Method

Ingeniux CMS Web Services API

Retrieves the assets related to the asset of specified ID

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<RelatedAssetInfo[]> GetRelatedAssets(
	string assetId
)

Parameters

assetId
Type: SystemString
Unique ID of the asset to retrieve related assets for

Return Value

Type: XHRServiceResponseGenericRelatedAssetInfo

Information of related assets

Examples

Sample JSON return

JavaScript
[
       {
      "name": "brock2",
             "id": "a/9684",
             "extension": ".jpg",
             "friendly": "Image",
             "height": 358,
             "ratio": "test",
             "type": "y",
             "width": 418
       },
    {
      "name": "brock3",
      "id": "a/9685",
      "extension": ".jpg",
      "friendly": "Image",
      "height": 358,
      "ratio": "test",
      "type": "y",
      "width": 418
    }
]
See Also

Reference