Edit Ident - 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

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

PUT body

Element

Description

Type

Required

Notes

IdentCode

Name of the ident

String

Optional

UnitSystemName

The unit system which is

applied.

String

Optional

Available unit systems are IMP/MET, Metric, and so on.

NPS1, NPS2, SCH1 and SCH2

Ident values as input to be unique.

Integer

Optional

Default value is 0.

ControlStatus

Control status of the instance

Integer

Optional

Default value is 1

Sample request

PUT

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

Where IdentId is the ident that you want to edit.

{

"IdentCode": "Edit_IDENT",

"UnitSystemName":"IMP/MET",

"NPS1":"1",

"NPS2":"1",

"SCH1":"S-10",

"SCH2":"S-10"

}

Response

Parameter

Description

Type

Notes

IdentId

A unique ID for the Ident.

Integer

IdentCode

The ident code identifying an

item

Integer

ControlStatus

Retrieves the control status of the instance

Integer

CommodityId

A unique ID for the commodity code.

Integer

Project

Retrieves the project details for the selected ident.

String

UnitSystemId

Unit System ID

Integer

UnitSystemName

The unit system which is

applied

String

NPS1, NPS2, SCH1 and SCH2

Ident values as input

String

Sample response

{

"@odata.context":

"https://<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/CommodityGroups(5008)/CommodityParts(5481)/CommodityCodes(78386)/Idents/$entity",

"IdentId": 19611705,

"Project": "SDB",

"IdentCode": "Edit_IDENT",

"CommodityId": 0,

"NPS1": "1",

"NPS2": "1",

"SCH1": "S-10",

"SCH2": "S-10",

"ControlStatus": 1,

"UnitSystemId": 5001,

"UnitSystemName": "IMP/MET"

}