WorkflowSpecs

Get all workflow specifications

Changed on

Get all workflow specifications. The parameter 'IncludePreviousVersions' may be used to return either the most recent versions of the workflow specifications or all possible versions of each workflow specification.

get/workflow-specs

Request

  • Base URL
    https://api.delfi.slb.com/fdplan/evaluation/v1
  • Auth
    API 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 workflow specifications successfully.

idstring required

The ID of the specification.

namestring required

The name of the specification.

versioninteger required

The version of the specification definition.

latestboolean required

Whether this is the latest version of the given specification.

archivedboolean required

Whether this specification has been marked as archived.

descriptionstring required

The description of the specification.

createdBystring required

The ID of the user who created the specification.

createdAtstring date-time required

The date the specification was created.

Example response

[
  {
    "id": "id",
    "name": "Well driven",
    "description": "Well driven",
    "latest": true,
    "version": 1,
    "archived": false,
    "createdBy": "system",
    "createdAt": "2020-01-01T00:00:00.000Z",
    "computationSpecs": [
      {
        "id": "ix",
        "name": "ix",
        "description": "ix computation",
        "latest": true,
        "archived": false,
        "createdBy": "system",
        "createdAt": "2020-01-01T00:00:00.000Z",
        "version": 1,
        "address": {
          "computationIndex": 0,
          "type": "Computation"
        },
        "inputDataTypeIds": [
          {
            "id": "decline-curves",
            "version": 1,
            "address": {
              "computationIndex": 0,
              "dataTypeIndex": 0,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "drilling-constraints",
            "version": 1,
            "address": {
              "computationIndex": 0,
              "dataTypeIndex": 1,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "facility-constraints",
            "version": 1,
            "address": {
              "computationIndex": 0,
              "dataTypeIndex": 2,
              "type": "DataTypeInput"
            }
          }
        ],
        "outputDataTypeIds": [
          {
            "id": "production-forecast",
            "version": 1,
            "address": {
              "type": "DataTypeOutput",
              "computationIndex": 0,
              "dataTypeIndex": 0
            }
          }
        ]
      },
      {
        "id": "peep",
        "name": "peep",
        "description": "peep computation",
        "latest": true,
        "archived": false,
        "createdBy": "system",
        "createdAt": "2020-01-01T00:00:00.000Z",
        "version": 1,
        "address": {
          "computationIndex": 1,
          "type": "Computation"
        },
        "inputDataTypeIds": [
          {
            "id": "production-forecast",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 0,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "well-capex",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 1,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "general-capex",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 2,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "general-opex",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 3,
              "type": "DataTypeInput"
            }
          },
          {
            "id": "economic-framework",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 4,
              "type": "DataTypeInput"
            }
          }
        ],
        "outputDataTypeIds": [
          {
            "id": "peep-output",
            "version": 1,
            "address": {
              "computationIndex": 1,
              "dataTypeIndex": 0,
              "type": "DataTypeOutput"
            }
          }
        ]
      }
    ],
    "edges": [
      {
        "fromAddressType": "DataTypeOutput",
        "fromComputationIndex": 0,
        "fromDataTypeIndex": 0,
        "toComputationIndex": 1,
        "toDataTypeIndex": 0
      }
    ]
  }
]

Changes

    • breaking

      added the new required header request parameter slb-partition-id

    • warning

      deleted the header request parameter slb-data-partition-id

    • warning

      added the new Workflow enum value to the ///// response property for the response status

    • warning

      added the new Workflow enum value to the ////// response property for the response status

    • warning

      added the new Workflow enum value to the ///////// response property for the response status

    • warning

      added the new Workflow enum value to the ///////// response property for the response status

    • info

      the response property ///// became required for the status

    • info

      the response property ///// became required for the status