Sample URI request
To delete a table detail in the project:
DELETE
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(7743)/TableGroups(5387)/TableDetails(68994)
To delete a table detail for a given table ID:
DELETE
https://<appserver with domain>/<virtual_directory>/Srd/V2/Projects('SDB')/Disciplines(5020)/Nls(1)/Tables(<TableId>)/TableGroups(<TableGroupId>)/TableDetails(<TableDetailId>)
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 for which the corresponding Table Group will be deleted. |
Integer |
Required |
|
Table Group ID |
The Table Group ID for which the corresponding table detail will be deleted. |
Integer |
Required |
|
Table Detail ID |
The Table Detail ID which you want to delete. |
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": "TableDetailId",
"message": "Deletion failed because dependent data exists in M_SPEC_HEADERS screen"
}