Delete Metadata for existing Table(View)
You can delete reverse engineered metadata from the system by sending the following request. This will delete business object definition along with its related resources (like its children, relationship etc).
Once you delete the metadata, then you cannot recover it.
Following are the conditions which should be met to delete the metadata.
-
As you are going to drop a business object (delete the metadata) from the system therefore the main request will be of type BUSINESS OBJECT.
-
Attribute BO_NAME has the value \{{boName}}. \{{boName}} is the placeholder for the existing business object name which is going to be dropped from the system.
3. Request body
{
"BUSINESS OBJECT": {
"language": "en",
"readBack": true,
"timezone": "GMT+08:00",
"showSQLStats": true,
"data": [
{
"BO_NAME": "{{boName}}"
}
]
}
}
Try it myself
4. Responses
{
"status": {
"statusCode": 1,
"statusLabel": "Success"
},
"messages": [
{
"message": "1 business objects(s) metadata deleted successfully.",
"status": {
"statusCode": 1,
"statusLabel": "Success"
}
}
],
"exception": {},
"data": {},
"version": "0.0.0.0A",
"threadName": "**system_52184",
"requestTime": "2021-06-01 13:03:56.325 +08:00",
"responseTime": "2021-06-01 13:03:57.053 +08:00"
}