The "wellpumpingdata" web service provides an information about an individual well pumping.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/pumpings/{pumpinguniqueid} with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
pumpinguniqueid: unique id of a well pumping
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindPumpingByUniqueIdJsonActor:FindPumpingByUniqueIdFetcherResponse for FindPumpingByUniqueIdRequest:FindPumpingByUniqueIdRequest{klass=AbstractPumpingDataFinder, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, pumpingUniqueId=1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc, sourceType=mongo}"
},
"data": {
"id": "1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc",
"content": {
"startTime": 1441932243000,
"endTime": 1441943696000,
"indexCurveUID": "{\"tuple\":[{\"name\":\"pumpingUID\",\"value\":\"1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc\"},{\"name\":\"dataUID\",\"value\":\"intvalue:0\"}]}",
"curveInfoList": [
{
"uid": "{\"tuple\":[{\"name\":\"pumpingUID\",\"value\":\"1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc\"},{\"name\":\"dataUID\",\"value\":\"intvalue:0\"}]}",
"name": "time",
"minIndex": 1441932243000,
"maxIndex": 1441943696000,
"dataType": "datetime",
"unitName": "ms",
"numColumns": 1,
"nullValue": 9223372036854775807,
"dataStats": {
"numNullValues": 0,
"dataMin": 1441932243000,
"dataMax": 1441943696000
}
},
{
"uid": "{\"tuple\":[{\"name\":\"pumpingUID\",\"value\":\"1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc\"},{\"name\":\"dataUID\",\"value\":\"intvalue:1\"}]}",
"name": "TR_PRESS",
"minIndex": 1441932243000,
"maxIndex": 1441943696000,
"dataType": "double",
"unitName": "psi",
"numColumns": 1,
"nullValue": 1.7976931348623157E308,
"dataStats": {
"numNullValues": 0,
"dataMin": -22.0871,
"dataMax": 9573.18
}
},
{
"uid": "{\"tuple\":[{\"name\":\"pumpingUID\",\"value\":\"1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc\"},{\"name\":\"dataUID\",\"value\":\"intvalue:2\"}]}",
"name": "TR_PRESS2",
"minIndex": 1441932243000,
"maxIndex": 1441943696000,
"dataType": "double",
"unitName": "psi",
"numColumns": 1,
"nullValue": 1.7976931348623157E308,
"dataStats": {
"numNullValues": 0,
"dataMin": -24.0898,
"dataMax": 9506.8
}
},
{
"uid": "{\"tuple\":[{\"name\":\"pumpingUID\",\"value\":\"1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc\"},{\"name\":\"dataUID\",\"value\":\"intvalue:3\"}]}",
"name": "SLUR_RATE",
"minIndex": 1441932243000,
"maxIndex": 1441943696000,
"dataType": "double",
"unitName": "B/M",
"numColumns": 1,
"nullValue": 1.7976931348623157E308,
"dataStats": {
"numNullValues": 0,
"dataMin": 0.0,
"dataMax": 91.7205
}
}
]
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/pumping",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/pumpings/1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Pumping Curve",
"name": "Pumping Curve",
"relEntity": "v1/schema/int/pumpingcurve",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/pumpings/1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc/curves",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Pumping Curve Stream",
"name": "Pumping Curve Stream",
"relEntity": "v1/schema/int/pumpingcurvestream",
"href": "/ivaap/api/ds/mongo/v1/sources/c9db3458-6698-49d9-ae8f-f407ce26ae2e/pumpings/1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc/curvesstream",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
}
The id entry is a unique id of a pumping.
In the content entry:
startTime is the start of this pumping
startTime is the end of this pumping
indexCurveUID is the unique id of the pumping index curve
curveInfoList sections is a collection of all curves of this pumping. For each curve in the curveInfoList section:
uid is the unique id of this curve
name is the name of this curve
minIndex is the minimum index value (typically time or depth) of this curve
maxIndex is the maximum index value (typically time or depth) of this curve
dataType is the type of values for this curve. Example: datetime, double, string
unitName is the symbol of the unit associated with this curve. Use undefined for no unit
numColumns is the number of columns for this curve. 1 for most curves, 2 for log arrays
dataStats is the statistcis of this curve. For each entry in the dataStats section;
numNullValues is the number of samples in the pumping curve that are null
dataMin is the minimum value of the pumping curve samples
dataMax is the maximum value of the pumping curve samples
The links sections lists all HATEOAS links leading to the services supported by this pumping.
If the specified pumpinguniqueid doesn't match a valid well pumping, 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.