Get link interface properties for an object - HxGN SDx - Update 63 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

You can fetch link interface properties for an object using the OData function GetLinkInterfacePropertiesForObject.

The following example GET looks for the SPFColumnSize and SPFColumnDisplayAs link properties to the SPFColumnSetColumnItem_12 relationship.

. . /api/v2/SDA/GetLinkInterfacePropertiesForObject(ObjectID='000AN0A', RelDefUIDWithDirection='SPFColumnSetColumnItem_12', LinkProperties='SPFColumnSize,SPFColumnDisplayAs')

This GET returns the following output:

{

"@odata.context":

" . . /api/v2/SDA/$metadata#Collection(Intergraph.SPF.Server.API.ClientSupport.Types.LinkPropertyValue)",

"value":

[

{

"propertyDefUID": "SPFColumnSize",

"propertyValue": "14",

"otherEndOBID": "0004FPA",

"otherEndUID": "CI_LastUpdateDate"

},

{

"propertyDefUID": "SPFColumnDisplayAs",

"propertyValue": "Last Updated",

"otherEndOBID": "0004FPA",

"otherEndUID": "CI_LastUpdateDate"

},

The results returned depend on the relationship direction being set.