The "deletewellmudlog" web service deletes an individual well mud log.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/mudlogs/{mudloguniqueid} with the DELETE method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
mudloguniqueid: a unique id of a well mud log
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:DeleteWellMudLogByUniqueIdJsonActor:DeleteWellMudLogByUniqueIdResponse for DeleteWellMudLogByUniqueIdRequest:DeleteWellMudLogByUniqueIdRequest{klass=AbstractWellMudLogUpdater, sourceType=mongo, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, uniqueId=d3I1MDhFMDExRWJwMQ==:d3I1MDhFMDExRWJwMVow:MFpkZXNjRXJ1bkVkZXB0aFpsb2dnaW5n}"
},
"isDeleted": true,
"links": [
{
"rel": "Mud Log",
"name": "Mud Log",
"relEntity": "v1/schema/int/mudlog",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/wellbores/d3I1MDhFMDExRWJwMQ%3D%3D/mudlogs",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
The isDeleted entry identifies whether a well mud log has been deleted.
The links section provides a HATEOAS link to the "Well Mud Logs Meta Web Service (v3)" service.
If the specified mudloguniqueid doesn't match a valid well mud 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.