Update computation specification. It is only possible to update the "name", "description", "archived", "inputDataTypeIds", "outputDataTypeIds" and "annotations" fields of the computation specification.
The patches to apply to the computation specification. Only "replace" operations are supported with the exception of "add" and "remove" for "annotations" path. It is only possible to update the "name", "description", "archived", "inputDataTypeIds", "outputDataTypeIds" and "annotations" fields of the computation specification.
- https://api.delfi.slb.com/fdplan/evaluation/v1https://api.delfi.slb.com/fdplan/evaluation/v1/computation-specs/{computationSpecId}
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-evaluation/computation-specs/{computationSpecId}
curl -i -X PATCH \
'https://api.delfi.slb.com/fdplan/evaluation/v1/computation-specs/{computationSpecId}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '[
{
"op": "replace",
"path": "description",
"value": "Description"
},
{
"op": "replace",
"path": "archived",
"value": false
}
]'Computation specification updated successfully.
The date the specification was created.
The input data-type IDs for the computation specification.
[ { "id": "decline-curves", "version": 1 }, { "id": "drilling-constraints", "version": 1 }, { "id": "facility-constraints", "version": 1 } ]
The output data-type IDs for the computation specification.
[ { "id": "production-forecast", "version": 1 } ]
The annotations for the computation specification. These annotations can be used to annotate the computation specification with useful information such as a 'name'.
[ { "address": { … }, "key": "name", "value": "Decline Curves", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Drilling Constraints", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Facility Constraints", "createdBy": "user@slb.com" }, { "address": { … }, "key": "name", "value": "Production Forecast", "createdBy": "user@slb.com" } ]
{ "id": "01DV2RPKYS5NYBAR6TNMJ8TNT8", "name": "custom-computation-spec", "version": 1, "latest": true, "archived": false, "description": "Description", "createdBy": "user@slb.com", "createdAt": "2020-01-01T00:00:00.000Z", "inputDataTypeIds": [ { … }, { … }, { … } ], "outputDataTypeIds": [ { … } ], "annotations": [ { … }, { … }, { … }, { … } ] }