The "deletewelldeviation" web service deletes an individual well deviation.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/trajectories/{trajectoryuniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
trajectoryuniqueid: a unique id of a well deviation
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellDeviationByUniqueIdJsonActor:DeleteWellDeviationByUniqueIdResponse for DeleteWellDeviationByUniqueIdRequest:DeleteWellDeviationByUniqueIdRequest{klass=AbstractWellDeviationUpdater, sourceType=mongo, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, uniqueId=a03e86c7-72c1-414e-aecc-8ea3c5:8.5in_drilling_run10 - Actual Traj}"
},
"isDeleted": true,
"links": [
{
"rel": "Trajectory",
"name": "Trajectory",
"relEntity": "v1/schema/int/trajectory",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/a03e86c7-72c1-414e-aecc-8ea3c5/trajectories",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well deviation has been deleted.
The links section provides a HATEOAS link to the "Well Deviations Meta Web Service (v3)" service.
If the specified trajectoryuniqueid doesn't match a valid well deviation, 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.