The "deletewelltable" web service deletes an individual well table.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/welltables/{welltableuniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
welltableuniqueid: a unique id of a well table
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellTableByUniqueIdJsonActor:DeleteWellTableByUniqueIdResponse for DeleteWellTableByUniqueIdRequest:DeleteWellTableByUniqueIdRequest{klass=AbstractWellTableUpdater, sourceType=mongo, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, tableUniqueId=b6472ec7-cc01-47f0-aa05-bbca09f51d84}"
},
"isDeleted": true,
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/table",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/1d8af245-8da9-4ece-86cd-e115e9c88a3e/welltables",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well table has been deleted.
The links section provides a HATEOAS link to the "Well Tables Meta Web Service (v3)" service.
If the specified welltableuniqueid doesn't match a valid well table, no JSON response will be provided. The HTTP response will only show a "InvalidUniqueId" (error 404) in its headers.
The content of this web service is pluggable so that information specific to your data format can be included. To add your own content, extend the com.interactive.ivaapapi.json.AbstractJsonBuilder class.