The "updatewelllog" web service updates the name of an individual well log:
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/logs/{wellloguniqueid} with the PUT method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
wellloguniqueid: a unique id of a well log
The following payload is expected (pass application/json as Content-Type):
{
"name":"MIP_3H_mudlog_2_LAS.2"
}
name: a well log name
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:UpdateWellLogByUniqueIdJsonActor:UpdateWellLogByUniqueIdFetcherResponse for UpdateWellLogByUniqueIdRequest:UpdateWellLogByUniqueIdRequest{klass=AbstractWellLogUpdater, sourceType=mongo, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, logUniqueId=cb6dd33c-4c19-4f32-8978-0356020f799c:3f87423e-dbe4-48ed-b358-ca0bbc96bb21, properties={\"name\":\"MIP_3H_mudlog_2_LAS.2\"}}"
},
"data": {
"id": "cb6dd33c-4c19-4f32-8978-0356020f799c:3f87423e-dbe4-48ed-b358-ca0bbc96bb21",
"content": {
"uid": "cb6dd33c-4c19-4f32-8978-0356020f799c:3f87423e-dbe4-48ed-b358-ca0bbc96bb21",
"name": "MIP_3H_mudlog_2_LAS.2",
"shortName": "MIP_3H_mudlog_2_LAS",
"status": "complete",
"curvesOrdered": false,
"direction": "increasing",
"shouldGroup": true,
"indexInfo": {
"indexName": "DEPTH",
"indexType": "depth",
"indexStart": 6228.0,
"indexEnd": 13874.0,
"unitName": "ft",
"sharedIndex": true
}
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/log",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/logs/cb6dd33c-4c19-4f32-8978-0356020f799c%3A3f87423e-dbe4-48ed-b358-ca0bbc96bb21",
"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 Log Data Web Service (v3)" service.
The links section provides a HATEOAS link to the "Well Log Data Web Service (v3)" service.
If the specified wellloguniqueid 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.