Retrieve a Table with Nls - 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)

Sample URI request

GET https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Attributes(<TableId>)?$expand=TableNls

Where ?$expand=TableNls is the query to retrieve Nls records along with the table details.

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

Response

Element

Description

Type

Notes

TableId

A unique ID for the table.

Integer

Generated by the software

Project

The project or product group from where the table is retrieved.

String

TableName

Name of the table

String

TableTypeId

A unique ID for the table type.

Integer

Generated by the software

TableType

Identifies the table type which the current table is assigned to.

String

NlsId

Language identifier

Integer

Required

ShortDescription

Short description of the table

String

Required

Description

Description of the table

String

Required

Sample response

{

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

"value": [

{

"TableId": 6061,

"Project": "SDB",

"TableName": "M_A60_COUNT",

"TableTypeId": 5021,

"TableType": "PHYSICAL",

"TableNls@odata.context": "https://<appserver with domain>/<virtual_directory>/Srd/V2/

$metadata#Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(6061)(6061)/TableNls",

"TableNls": [

{

"TableId": 6061,

"NlsId": 2,

"ShortDescription": "M_A60_COUNT",

"Description": "M_A60_COUNT"

},

{

"TableId": 6061,

"NlsId": 1,

"ShortDescription": "M_A60_COUNT",

"Description": "M_A60_COUNT"

}

]

}

]

}