The "wellfrackingstagesmeta" web service provides meta data about all fracking stages of an individual well bore.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/wellbores/{wellboreuniqueid}/frackingstages with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
wellboreuniqueid: unique id of a well bore
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindWellFrackingStageMetasByWellBoreJsonActor:FindWellFrackingStageMetasByWellBoreEntitlementCheckResponse for FindWellFrackingStageMetasByWellBoreEntitlementCheckRequest of FindWellFrackingStageMetasByWellBoreRequest:FindWellFrackingStageMetasByWellBoreRequest{klass=AbstractWellFrackingStageMetaFinder, sourceName=ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16, uniqueId=da368815-b6a9-4bc6-8456-d752bdfb65dc, sourceType=mongo}"
},
"collection": {
"schema": "v1/schema/int/entitycollection",
"items": [
{
"id": "fa5b2a89-f63b-44a4-91dd-4dbb74bd3fa5",
"content": {
"uid": "fa5b2a89-f63b-44a4-91dd-4dbb74bd3fa5",
"name": "fracking",
"number": 1
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/frackingstage",
"href": "/ivaap/api/ds/mongo/v1/sources/ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16/frackingstages/fa5b2a89-f63b-44a4-91dd-4dbb74bd3fa5",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
],
"total": 1
}
}
The items section is a collection of all fracking stage meta data.
Each meta data is identified by id entry.
In content section for each fracking stage meta data:
uid is the unique id of a fracking stage
name is the name of a fracking stage
number is the number of a fracking stage
links section provides a HATEOAS link to the "Well Fracking Stage Data Web Service (v3)" service.
If the specified wellboreuniqueid doesn't match a valid well bore, 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.