- FDPlan
- Set status of computation
Set status of computation given the computation ID.
The details of the computation status to be set.
The computation status.
The computation errors. There should not be any computation errors if the status of the computation is being set to 'CompletedSuccessfully'.
[ { "addresses": [ … ], "message": "Something went wrong." } ]
A message to provide a progress report on the status of an ongoing computation. Messages are logged as events.
{ "timeStamp": "2020-01-01T00:00:00.000Z", "progressStatus": "Queued", "source": "External application", "body": "This is a progress event message" }
The computationLogEvent. The log event should contain a list of logs associated with the computation.
- https://api.delfi.slb.com/fdplan/evaluation/v1https://api.delfi.slb.com/fdplan/evaluation/v1/computations/{computationId}/status
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-evaluation/computations/{computationId}/status
curl -i -X POST \
'https://api.delfi.slb.com/fdplan/evaluation/v1/computations/{computationId}/status' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '{
"status": "CompletedWithErrors",
"computationErrors": [
{
"addresses": [
{
"type": "DataTypeInput",
"computationIndex": 0,
"dataTypeIndex": 0
},
{
"type": "DataTypeInput",
"computationIndex": 0,
"dataTypeIndex": 1
}
],
"message": "Something went wrong."
}
]
}'Computation status updated successfully.
The computation ID.
The computation status.
A specification reference which allows the API users to specify the version of a specification when creating or updating a parent specification.
{ "id": "01DV2RPKYS5NYBAR6TNMJ8TNT8", "version": 1 }
A list of containers for the computation inputs.
[ { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/decline-curves/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] }, { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/drilling-constraints/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] } ]
A list of containers for the computation outputs.
[ { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] } ]
A container is an instance of a data-type which is used to obtain the location of files which are part of the container, along with input and output errors.
{ "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { "id": "production-forecast", "version": 1, "address": { … } }, "fileNames": [ "production-forecast.json" ], "files": [ { … } ], "labels": { "name": "p10" } }
The error associated with the computation.
[ { "addresses": [ … ], "message": "Something went wrong." } ]
{ "id": "0006803dc06c9bab3f82d4018287b8ccae575bd68eaa47f3c1797242e78daf03", "status": "CompletedWithErrors", "computationSpec": { "id": "ix", "version": 1 }, "inputContainers": [ { … }, { … } ], "outputContainers": [ { … } ], "computationErrors": [ { … } ], "computationConfiguration": { "schemaRef": { … } } }