Delete a Geometric - 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 geometric in the project:

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

To delete a geometric for a given geometric Id:

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

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

GeometricID

The geometric 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": "GeometricId",

"message": "Deletion failed because dependent data exists in M_SPEC_ITEMS screen"

}

]

}

}