Edit a Geometric Detail - 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

Sample URI request

PUT https://<appserver with domain>/<virtual_directory>/ Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Geometrics(53311)/GeometricDetails(2542004)

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

Request

Parameter

Description

Type

Notes

GeometricDetailId

A unique ID for the geometric Detail

Integer

GeometricId

A unique ID for the geometric.

Integer

UnitSystemId

Unit System ID

Integer

UnitSystemName

The unit system which is applied

String

NPS1

NPS1 attribute is associated with Input_1 physical attribute for parent physical table

String

NPS2

NPS2 attribute is associated with Input_2 physical attribute for parent physical table

String

SCH1

SCH1 attribute is associated with Input_3 physical attribute for parent physical table

String

SCH2

SCH2 attribute is associated with Input_3 physical attribute for parent physical table

String

Body

{

    "UnitSystemName": "IMP",

    "NPS1": "10",

    "NPS2": "6",

    "SCH1": "S-10S",

    "SCH2": "S-10"

}

Sample response

{

    "@odata.context": https//<appserver with domain>/<virtual_directory>/Srd/V2/$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/Geometrics(53311)/GeometricDetails/$entity,

    "GeometricDetailId": 2542004,

    "GeometricId": 53311,

    "ControlStatus": 1,

    "UnitSystemId": 5022,

    "UnitSystemName": "IMP",

    "NPS1": "10",

    "NPS2": "6",

    "SCH1": "S-10S",

    "SCH2": "S-10"

}