Click or drag to resize

AssetServicesGetAssetInfoForField Method


Retrieves basic asset information

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

Parameters

assetIdOrPath  String
ID of path of the Asset

Return Value

XHRServiceResponseGenericAssetFieldInfo

The basic information of the Asset

Example
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