The "welltopsbywellbore" service provides information about all well tops of an individual well bore
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/wellbores/{wellboreuniqueid}/tops with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: a unique id of a datasource
wellboreuniqueid: a unique id of a well bore
The following parameters are available:
includelinks: an array of links to include in response, i.e. self, Log, etc. This is an optional parameter. The default is all links.
Here is an example response. This response has been formatted to improve readability.
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindTopsByWellBoreJsonActor:StartTopsByWellBoreResponseEvent for FindTopsByWellBoreRequest:FindTopsByWellBoreRequest{klass=AbstractWellTopFinder, sourceName=ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16, wellBoreUniqueId=90afe2a1-abc9-4fd3-bc33-ec7ad0b80ba8, linksToInclude=null, sourceType=mongo}"
},
"collection": {
"schema": "v1/schema/int/entitycollection",
"items": [
{
"id": "79264056-db93-492e-91a9-5b7e176b16e4",
"content": {
"topSetUUID": "ccd31862-e74f-4e47-b3b1-0cd18bd06f62",
"wellboreUID": "90afe2a1-abc9-4fd3-bc33-ec7ad0b80ba8",
"name": "mynewtop",
"index": 1996.15,
"interpreter": "MichaelM",
"label": "IVAAPMiddleTier://cec5dc52-a6a9-4ef4-be6d-f62f560f2c00"
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/top",
"href": "/ivaap/api/ds/mongo/v1/sources/ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16/tops/79264056-db93-492e-91a9-5b7e176b16e4",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Well",
"name": "Well",
"relEntity": "v1/schema/int/well",
"href": "/ivaap/api/ds/mongo/v1/sources/ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16/wells/90afe2a1-abc9-4fd3-bc33-ec7ad0b80ba8",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
},
{
"id": "ac0ef8fc-a440-4c88-96f1-6162b93b93a6",
"content": {
"topSetUUID": "ccd31862-e74f-4e47-b3b1-0cd18bd06f62",
"wellboreUID": "90afe2a1-abc9-4fd3-bc33-ec7ad0b80ba8",
"name": "top3",
"index": 1998.04,
"interpreter": "MichaelM",
"label": "IVAAPMiddleTier://a55500ff-fe15-4f69-9993-4322839aa56e"
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/top",
"href": "/ivaap/api/ds/mongo/v1/sources/ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16/tops/ac0ef8fc-a440-4c88-96f1-6162b93b93a6",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
},
{
"rel": "Well",
"name": "Well",
"relEntity": "v1/schema/int/well",
"href": "/ivaap/api/ds/mongo/v1/sources/ecd55dc9-e37c-49c8-a2f7-4313a8fe6a16/wells/90afe2a1-abc9-4fd3-bc33-ec7ad0b80ba8",
"children": false,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
],
"total": 2
}
}
The output of this service is the same as for "Well Tops By Top Set 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.