The "welldrillstringsmeta" web service provides an information about all well drill strings for an individual well bore.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/wellbores/{wellboreuniqueid}/drillstrings with the GET method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
wellboreuniqueid: a unique id of a well bore
Here is an example response. This response has been formatted to improve readability
{
"from": {
"actor": "akka://DefaultActorSystemControllerActorSystem:FindWellDrillStringByWellBoreJsonActor:FindWellDrillStringByWellBoreEntitlementCheckResponse for FindWellDrillStringByWellBoreEntitlementCheckRequest of FindWellDrillStringByWellBoreRequest:FindWellDrillStringByWellBoreRequest{klass=AbstractWellDrillStringFinder, sourceName=f2f9a227-0d1e-4122-bed3-a41c3b5dc91e, uniqueId=idwell=B14CCA45A1CD42D5ABF6A12EAC129EA2 (java.lang.String)\nidrec=06DB4D51D9684A8EBB507FB3D861039F (java.lang.String), sourceType=peloton}"
},
"collection": {
"schema": "v1/schema/int/entitycollection",
"items": [
{
"id": {
"tuple": [
{
"name": "idwell",
"value": "B14CCA45A1CD42D5ABF6A12EAC129EA2"
},
{
"name": "idrecparent",
"value": "5E2D52B47B36431F9885EBC176594C3C"
},
{
"name": "idrec",
"value": "6220172ED1BB4340BB186BD131C83F9B"
}
]
},
"content": {
"uid": {
"tuple": [
{
"name": "idwell",
"value": "B14CCA45A1CD42D5ABF6A12EAC129EA2"
},
{
"name": "idrecparent",
"value": "5E2D52B47B36431F9885EBC176594C3C"
},
{
"name": "idrec",
"value": "6220172ED1BB4340BB186BD131C83F9B"
}
]
},
"name": "Rotary (2012-01-12)",
"reverseSequenceNumbersForAssembly": false,
"status": "active",
"components": [
{
"type": "Bit - roller cone",
"description": "Mill Tooth",
"make": "Smith",
"model": "FDS+",
"serialNumber": "PT7786",
"od": {
"name": "Max Diameter",
"value": 0.2286,
"units": "ft"
},
"id": {
"name": "Inner Diameter",
"value": 0,
"units": "ft"
},
"length": {
"name": "Length",
"value": 0.24384,
"units": "ft"
},
"sequenceNum": 2147483646
}
]
},
"links": [
{
"rel": "self",
"relEntity": "v1/schema/int/drillstring",
"href": "/ivaap/api/ds/peloton/v1/sources/f2f9a227-0d1e-4122-bed3-a41c3b5dc91e/drillstrings/%7B%22tuple%22%3A%5B%7B%22name%22%3A%22idwell%22%2C%22value%22%3A%22B14CCA45A1CD42D5ABF6A12EAC129EA2%22%7D%2C%7B%22name%22%3A%22idrecparent%22%2C%22value%22%3A%225E2D52B47B36431F9885EBC176594C3C%22%7D%2C%7B%22name%22%3A%22idrec%22%2C%22value%22%3A%226220172ED1BB4340BB186BD131C83F9B%22%7D%5D%7D",
"children": true,
"hasProjectEntityChildren": false,
"isProjectEntity": false
}
]
}
],
"total": 1
}
}
The items section specifies a collection of well drill string meta data.
Each meta data is identified by id attribute.
In the content entry of each well drill string:
uid is the unique id of a well drill string
name is the name of a well drill string
reverseSequenceNumbersForAssembly indicates whether the sequence number is in the inverse order of the assembly order
status is the status of a well drill string: complete or active
components is a collection of all components of a well drill string.
In the components entry:
type is the type of a component, e.g. drill collar, stabilizer, motor, etc
description is the description of a component
model is the model of a component
od is the outer diameter of a component
id is the inner diameter of a component
odmax is the maximum outer diameter of a component
length is the length of a component
weight is the weight of a component
distanceToBit is the distance between a component and the drill bit
sequenceNum is the sequence number assigned to the well bore that a component is used for
The links section provides a HATEOAS link to the "Well Drill String 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.