The "deletewelltubingset" web service deletes an individual well tubing set.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/tubingsets/{tubingsetuniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
tubingsetuniqueid: a unique id of a well tubing set
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellTubingSetByUniqueIdJsonActor:DeleteWellTubingSetByUniqueIdResponse for DeleteWellTubingSetByUniqueIdRequest:DeleteWellTubingSetByUniqueIdRequest{klass=AbstractWellTubingSetUpdater, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, tubingSetUniqueId=0503ef96-143b-41b6-997c-a89eea8a5317, pathInfo=/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/tubingsets/0503ef96-143b-41b6-997c-a89eea8a5317}"
},
"isDeleted": true,
"links": [
{
"rel": "Tubing Set",
"name": "Tubing Set",
"relEntity": "v1/schema/int/tubingset",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/a9c04cc1-cd55-407d-a80a-9c7e5289b953/tubingsets",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well tubing set has been deleted.
The links section provides a HATEOAS link to the "Well Tubing Sets Meta Web Service (v3)" service.
If the specified tubingsetuniqueid doesn't match a valid well tubing set, 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.