Expansion on set number of relationships - 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 perform an expansion request with OData that involves returning a set of a number of relationship expansions from a single object in a single request. For example, you set the maximum number of related objects you want returned from a single object using the $top parameter, as shown in the following examples:

. . /api/v2/SDA/Objects('0004F4A')?$expand=SPFItemOwner_21($top=1000)

. . /api/v2/SDA/Objects('0004F4A')?$expand=SPFItemOwner_21($select=Name;$top=800)

. . /api/v2/SDA/Objects('0004F4A')?$expand=SPFItemOwner_21($select=Name;$top=300;$count=true)

. . /api/v2/SDA/Objects('0004F4A')?$expand=SPFItemOwner_21($top=80;$filter=contains(Name,'fold'))