AssetServicesGetAssetInfoForField Method
|
Retrieves basic asset information
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<AssetFieldInfo> GetAssetInfoForField(
string assetIdOrPath
)
Public Function GetAssetInfoForField (
assetIdOrPath As String
) As XHRServiceResponseGeneric(Of AssetFieldInfo)
public:
virtual XHRServiceResponseGeneric<AssetFieldInfo^>^ GetAssetInfoForField(
String^ assetIdOrPath
) sealed
abstract GetAssetInfoForField :
assetIdOrPath : string -> XHRServiceResponseGeneric<AssetFieldInfo>
override GetAssetInfoForField :
assetIdOrPath : string -> XHRServiceResponseGeneric<AssetFieldInfo>
Parameters
- assetIdOrPath
- Type: SystemString
ID of path of the Asset
Return Value
Type:
XHRServiceResponseGenericAssetFieldInfoThe basic information of the Asset
Examples
Sample JSON return
{
"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