Ident Usage - Intergraph Smart Reference Data - Version 2020 (10.0) - Help - Intergraph

Intergraph Smart Reference Data REST API (2020)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
2020 (10.0)

To retrieve the usage of specific ident, use the following query:

GET {ServiceName}/Idents(<IdentId>)/Com.Ingr.SmartRD.V2.IdentUsage

The sample, query to retrieve the usage of the ident 7521585, is:

GET

https://<appserver with domain>/<virtual_directory>/Srd/V2//Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(5008)/CommodityParts(5481)/CommodityCodes(78386)/Idents(7521585)/Com.Ingr.Srd.V2.IdentUsage()/

Response

Parameter

Description

Type

Notes

Project

Retrieves the project details for the selected ident.

String

Spec Type

Type of the specification

String

SpecName

The name of the specification.

String

InterfaceName

The name of the interface.

String

LastTransferDate

The day when the item was last included or transferred in a job.

String

Date format: DD-MM-YYYY

If the response body is empty, the ident has not been used in any specification.

Sample response

{

  "@odata.context": "https://<appserver with domain>/<virtual_directory>/$metadata#Com.Ingr.Srd.V2.IdentUsed",

  "SpecUsage": [

    {

      "Project": "SDB",

      "SpecType": "SDB_S3D",

      "SpecName": "1C0101"

    }

  ],

  "CADUsage": [

    {

      "InterfaceName": "SP3D",

      "LastTransferDate": "30-07-2015"

    }

  ]

}