The "updatewellmudlog" web service updates the name of an individual well mud log:
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/mudlogs/{mudoguniqueid} with the PUT 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
The following payload is expected (pass application/json as Content-Type):
{
"name":"CuttingsMudlog.Edited"
}
name: a well mud log name
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:UpdateWellMudLogByUniqueIdJsonActor:UpdateWellMudLogByUniqueIdFetcherResponse for UpdateWellMudLogByUniqueIdRequest:UpdateWellMudLogByUniqueIdRequest{klass=AbstractWellMudLogUpdater, sourceType=mongo, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, logUniqueId=lithoWell:lithoWell3:mudlog1, properties={\"name\":\"CuttingsMudlog.Edited\"}}"
},
"data": {
"id": "lithoWell:lithoWell3:mudlog1",
"content": {
"uid": "lithoWell:lithoWell3:mudlog1",
"name": "CuttingsMudlog.Edited",
"status": "complete",
"mdStart": {
"name": "mdStart",
"value": 0.0,
"units": "m"
},
"mdEnd": {
"name": "mdEnd",
"value": 3590.0,
"units": "m"
}
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/mudlog",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/mudlogs/lithoWell%3AlithoWell3%3Amudlog1",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
}
The id entry is the unique id of an updated well log.
For detailed description of content section see "Well Mudl Log Data Web Service (v3)" service.
The links section provides a HATEOAS link to the "Well Mudl Log Data 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.