Delete - HxGN SDx - Update 70 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

ft:locale
en-US
Product
HxGN SDx
Search by Category
Administration & Configuration

The following OData examples use the Web API v3 to delete objects.

Delete an object

Operator

Description

Example

Delete an Object

This example deletes the DEVSystem object identified by the Id ‘Key’.

DELETE

<ACCESS_URL>/api/v3/DEVSystems(‘Key’)

Delete a Relationship One to One (1-1)

Operator

Description

Example

Delete a One To One (1-1) Relationship

This example removes the relationship between the SPFFolder and the specified object on the other end of the OneToOneRel relationship.

DELETE

<ACCESS_URL>/api/v3/SPFFolders(‘Key’)/OneToOneRel/$ref

Delete a Relationship One to Many (1-n)

Operator

Description

Example

Delete a One To Many (1-n) Relationship

This example removes the relationship between the SPFFolder and the specified object on the other end of the OneToManyRel relationship.

DELETE

<ACCESS_URL>/api/v3/SPFFolders('Key')/OneToManyRel/$ref?$id=DevelopmentTags(‘Key')

If a delete is refused with an HTTP 428 (Precondition Required) error, you must pass the If-Match header with either a "*" value or the current ETag value for the entity instance. For example, "000000000000D2F3". You must not include the W/ or the escape characters.