Dynamic Attributes - Intergraph Smart Reference Data - Help - Intergraph

Intergraph Smart Reference Data REST API (10.1)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.1

To retrieve dynamic attributes associated to commodity code, use the following query:

GET {ServiceName}/CommodityCodes/Com.Ingr.Srd.V2.DynamicAttributes()

The sample query to retrieve the dynamic attributes associated to commodity code is:

GET https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects(%27SDB%27)/Disciplines(5020)/Nls(1)/CommodityGroups(5018)/CommodityParts(5549)/CommodityCodes/Com.Ingr.Srd.V2.DynamicAttributes()/

Response

Parameter

Description

Type

Notes

AttributeName

The attribute code name corresponding to the variable attribute is shown.

String

For commodity codes, on response, all the variable attributes assigned in the table attributes are displayed with attribute code name. The inline sample response shows the available attribute codes

PhysicalAttribute

Variable attribute

String

Associated physical attribute of the attribute name. Total available physical attribute characters are ATTR_CHAR1 to ATTR_CHA15 and total available attribute numbers are ATTR_NUM1 to ATTR_NUM15

Sample response

{

    "@odata.context":

"https://<appserver with domain>/<virtual_directory>/$metadata#Com.Ingr.Srd.V2.DynamicAttributesInformation",

    "AttributeDetails": [

        {

            "AttributeName": "FLUIDCODE",

            "PhysicalAttribute": "ATTR_NUM1"

        }

    ]

}