The "wellpumpingcurves" web service provides an information about all curves of a individual well pumping.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/pumpings/{pumpinguniqueid}/curves 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. Curve data values were skipped for the sake of brievity.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindPumpingCurveDataSeriesByPumpingJsonActor:FindPumpingCurveDataSeriesByPumpingResponse for FindPumpingCurveDataSeriesByPumpingRequest:FindPumpingCurveDataSeriesByPumpingRequest{klass=AbstractPumpingCurveDataFrameFinder, sourceName=c9db3458-6698-49d9-ae8f-f407ce26ae2e, pumpingDataUniqueId=1bfcdff9-758c-42f8-88cc-cf23e8f2a1bc, sourceType=mongo}"
},
"curves": [
{
"name": "time",
"dataType": "datetime",
"numColumns": 1,
"data": [...]
},
{
"name": "TR_PRESS",
"dataType": "double",
"numColumns": 1,
"data": [...]
},
{
"name": "TR_PRESS2",
"dataType": "double",
"numColumns": 1,
"data": [...]
},
{
"name": "SLUR_RATE",
"dataType": "double",
"numColumns": 1,
"data": [...]
}
]
}
In the curves section for each curve:
name is the name of a curve
dataType is data type of a curve: double, long, datetime or string
numColumns is the number of columns of a curve. 1 for most curves, 2 for log arrays
data is a collections of values of a curve
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.