ComputationSpecs
Get all computation specifications
Changed onGet all computation specifications. The parameter 'IncludePreviousVersions' may be used to return either the most recent versions of the computation specifications or all possible versions of each computation specification.
get/computation-specs
Request
- Base URLhttps://api.delfi.slb.com/fdplan/evaluation/v1
- AuthAPI key in header Authorization and API key in header appkey
Query parameters
includePreviousVersionsboolean
Unless includePreviousVersions is true the response will return only the latest version of each specification.
Headers
slb-partition-idstring required
Data partition id.
Response
Retrieved computation specifications successfully.
Example response
[
{
"id": "ix",
"latest": true,
"name": "ix",
"version": 1,
"archived": false,
"description": "ix computation",
"createdBy": "system",
"createdAt": "2020-01-01T00:00:00.000Z",
"inputDataTypeIds": [
{
"id": "decline-curves",
"version": 1
},
{
"id": "drilling-constraints",
"version": 1
},
{
"id": "facility-constraints",
"version": 1
}
],
"outputDataTypeIds": [
{
"id": "production-forecast",
"version": 1
}
]
},
{
"id": "peep",
"latest": true,
"name": "peep",
"version": 1,
"archived": false,
"description": "peep computation",
"createdBy": "system",
"createdAt": "2020-01-01T00:00:00.000Z",
"inputDataTypeIds": [
{
"id": "production-forecast",
"version": 1
},
{
"id": "well-capex",
"version": 1
},
{
"id": "general-capex",
"version": 1
},
{
"id": "general-opex",
"version": 1
},
{
"id": "economic-framework",
"version": 1
}
],
"outputDataTypeIds": [
{
"id": "peep-output",
"version": 1
}
]
}
]Changes
- breaking
added the new required
headerrequest parameterslb-partition-id - warning
deleted the
headerrequest parameterslb-data-partition-id - warning
added the new
Workflowenum value to the/////response property for the response status
- breaking