The "deletewellboreperforationset" web service deletes an individual perforation set.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/perforationsets/{perforationsetuniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, geofiles, s3, etc.
datasource: unique id of a datasource
perforationsetuniqueid: a unique id of a perforation set
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellBorePerforationSetByUniqueIdJsonActor:DeleteWellBorePerforationSetByUniqueIdResponse for DeleteWellBorePerforationSetByUniqueIdRequest:DeleteWellBorePerforationSetByUniqueIdRequest{klass=AbstractWellBorePerforationSetUpdater, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, perforationSetUniqueId=65476ad8-b769-4ac7-9461-20e4ef4b4ca9, pathInfo=/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/perforationsets/65476ad8-b769-4ac7-9461-20e4ef4b4ca9}"
},
"isDeleted": true,
"links": [
{
"rel": "Perforation Set",
"name": "Perforation Set",
"relEntity": "v1/schema/int/perforationset",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/a03e86c7-72c1-414e-aecc-8ea3c5/perforationsets",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a perforation set has been deleted.
The links section provide a HATEOAS link to the "Well Bore Perforation Sets Web Service (v3)" service.
If the specified perforationsetuniqueid doesn't match a valid perforation set, no JSON response will be provided. The HTTP response will only show a "InvalidUniqueId" (error 404) in its headers.