DataTypes
Get all data-types
Changed onGet all data-types. The parameter 'IncludePreviousVersions' may be used to return either the most recent versions of the data-types or all possible versions of each data-type.
get/data-types
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 data-types successfully.
Example response
[
{
"id": "decline-curves",
"name": "decline-curves",
"description": "Decline Curves",
"version": 1,
"latest": true,
"archived": false,
"createdBy": "system",
"createdAt": "2020-01-01T00:00:00.000Z",
"fileSpecs": [
{
"extension": "json"
}
]
},
{
"id": "facility-constraints",
"name": "facility-constraints",
"description": "Facility Constraints",
"version": 1,
"latest": true,
"archived": false,
"createdBy": "system",
"createdAt": "2020-01-01T00:00:00.000Z",
"fileSpecs": [
{
"extension": "json"
}
]
}
]Changes
- breaking
added the new required
headerrequest parameterslb-partition-id - warning
deleted the
headerrequest parameterslb-data-partition-id
- breaking