Retrieve the list of Commodity Code Geometrics - Intergraph Smart Reference Data - Customization & Programming - Hexagon

SRD REST API

ft:locale
en-US
Product
Intergraph Smart Reference Data
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.6

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

To retrieve a commodity code details for a commodity code:

GET https://<appserver with domain>/<virtual_directory>/ Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(8850)/CommodityParts(17315)/CommodityCodes(137211)/CommodityCodeGeometrics

Response

Parameter

Description

Type

Notes

CommodityId

A unique ID for the commodity code.

Integer

GeometricId

A unique ID for the geometric.

Integer

IdentKey

Set this value if you want to use the geometric for building the ident.

String

Sample response

{

    "@odata.context":  https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(8850)/CommodityParts(17315)/CommodityCodes(137211)/CommodityCodeGeometrics,

    "value": [

        {

            "CommodityId": 137211,

            "GeometricId": 5002,

            "IdentKey": "OFF"

        },

        {

            "CommodityId": 137211,

            "GeometricId": 5005,

            "IdentKey": "ON"

        }

    ]

}