The "deletewellboregeometry" web service deletes an individual well bore geometry.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/wbgeometries/{geometryuniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, geofiles, s3, etc.
datasource: unique id of a datasource
geometryuniqueid: a unique id of a well bore geometry
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellBoreGeometryByUniqueIdJsonActor:DeleteWellBoreGeometryByUniqueIdResponse for DeleteWellBoreGeometryByUniqueIdRequest:DeleteWellBoreGeometryByUniqueIdRequest{klass=AbstractWellBoreGeometryUpdater, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, tubingSetUniqueId=fc5f6969-f983-47c6-9853-4cf62e302bdd, pathInfo=/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wbgeometries/fc5f6969-f983-47c6-9853-4cf62e302bdd}"
},
"isDeleted": true,
"links": [
{
"rel": "Wellbore Geometry",
"name": "Wellbore Geometry",
"relEntity": "v1/schema/int/wbgeometry",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/test_well_uid/wbgeometries",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well bore geometry has been deleted.
The links section provide a HATEOAS link to the "Well Bore Geometries Web Service (v3)" service.
If the specified geometryuniqueid doesn't match a valid well bore geometry, no JSON response will be provided. The HTTP response will only show a "InvalidUniqueId" (error 404) in its headers.