The "welldeviationcurvevalues" web service provides the values of an individual well deviation curve along with the values of the its index curve.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/trajectories/{trajectoryuniqueid}/curves?curveids=2&minindex=100&maxindex=300&indextype=double with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
trajectoryuniqueid: unique id of a well deviation
curveids: collection of curve indices within the specified well bore. Example: 3,4 to get the curve values for the curves with the indices 3 or 4
minindex: minimum index (typically time or depth) of the values to query
maxindex: maximum index (typically time or depth) of the values to query
indextype: hint on the type of min/max index being passed: datetime, long or double
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindDeviationWellCurveDataSeriesByRangeJsonActor:FindDeviationWellCurveDataSeriesByRangeResponse for FindDeviationWellCurveDataSeriesByRangeRequest:FindDeviationWellCurveDataSeriesByRangeRequest{klass=AbstractWellCurveDataFrameFinder, sourceName=84e10999-60f4-4aff-83cd-7e880d24d866, wellUniqueId=226500d9-1e1c-4d0a-8b63-3868dbd4d61c:dbdedbfd-1eb3-4ea6-a2b9-c3953f396681, wellCurveIndices=[2], sourceType=mongo, curveQuery=DepthWellCurveQuery{startDepthValue=100.0, endDepthValue=300.0, maxValues=0}}"
},
"curves": {
"curves": [
{
"name": "md",
"dataType": "double",
"numColumns": 1,
"dataUID": 0,
"data": [
0.0,
163.0,
190.0,
220.0,
250.0,
280.0,
310.0
]
},
{
"name": "x",
"dataType": "double",
"numColumns": 1,
"dataUID": 2,
"data": [
458109.166,
458109.166,
458109.186,
458109.227,
458109.269,
458109.29,
458109.33
]
}
]
}
}
When requesting a curve, the associated index curve values are also included. In the example above, the index curve for "x" is the "md" curve.
name: name of the curve
dataType: type of curve values for this curve: double, datetime, integer, float, string
numColumns: number of columns for this curve. 1 for most curves, 2 for log arrays.
dataUID: index of this curve within its well log
data: values of this curve. Double.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE and Float.MAX_VALUE should be treated as a null value
To get more details about the log curves with a well deviation, see Well Deviation Data Web Service (v3)