Delete a Table - 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

To delete a table in the project:

DELETE

https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7838)

To delete a table for a given table ID:

DELETE

https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(<TableId>)

Headers

Header name

Description

Required

Values

Authorization

Access token

Required

Bearer <access_token>

Content-Type

Request type format

Required

application/json

Get URI Parameter

Parameter

Description

Type

Required

Table ID

The Table ID to which you want to delete the data.

Integer

Required

Sample Response

A Successful deletion will return a response with status as 204 and an unsuccessful deletion will return a response with status as 409 (Conflict).

{

"error": {

"code": "MAR-44059",

"message": "The record cannot be deleted",

"details": [

{

"code": "MAR-10188",

"target": "TableId",

"message": "Deletion failed because dependent data exists in M_DICT_TAB_ATTRS,M_GEOM_NAMES screen"

}

]

}

}