Click or drag to resize

AssetServicesGetAssetInfoForField Method


Retrieves basic asset information

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<AssetFieldInfo> GetAssetInfoForField(
	string assetIdOrPath
)

Parameters

assetIdOrPath
Type: SystemString
ID of path of the Asset

Return Value

Type: XHRServiceResponseGenericAssetFieldInfo

The basic information of the Asset

Examples
Sample JSON return
JavaScript
 {
    "name": "theassassin_01",
    "id": "a/9320",
    "extension": "jpg",
    "hierarchy": null,
    "mediaLength": null,
    "originalHeight": 720,
    "originalWidth": 1280,
    "path": "Images/Films/A/theassassin_01.jpg",
    "schemaName": "Image",
    "type": "Image"
}
See Also