The "deletewelllog" web service deletes an individual well log.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/logs/{loguniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
loguniqueid: a unique id of a well log
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellLogByUniqueIdJsonActor:DeleteWellLogByUniqueIdResponse for DeleteWellLogByUniqueIdRequest:DeleteWellLogByUniqueIdRequest{klass=AbstractWellLogUpdater, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, logId=test_well_uid:Trinity Test Welll, pathInfo=/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/logs/test_well_uid%3ATrinity%20Test%20Welll}"
},
"isDeleted": true,
"links": [
{
"rel": "Log",
"name": "Log",
"relEntity": "v1/schema/int/log",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wells/test_well_uid/logs",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well log has been deleted.
The links section provides a HATEOAS link to the "Well Logs Meta Web Service (v3)" service.
If the specified loguniqueid doesn't match a valid well log, 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.