- FDPlan
- Create a new scenario
Creates a new scenario in the given study as a candidate development option. An ensemble to hold the scenario's realizations is provisioned automatically; only the scenario title is required.
The scenario that needs to be created.
AA-friendly colour for scenario. Specified as hex, e.g '#FFA71A'.
The description of this scenario.
A scenario is marked as selected when it has been featured above other scenarios in the same study by a user.
- https://api.delfi.slb.com/fdplan/studieshttps://api.delfi.slb.com/fdplan/studies/v1/scenarios
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-studies/v1/scenarios
curl -i -X POST \
'https://api.delfi.slb.com/fdplan/studies/v1/scenarios?studyId=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '{
"title": "Minimal investment",
"colour": "#ff0000",
"description": "Minimal investment development option scenario.",
"isSelected": false,
"associatedOpportunityIDs": [
"01CP3E6EJJ25J29YHZ0K4ANABC",
"01CP3E6EJJ25J29YHZ0K4ANDEF"
]
}'Scenario created successfully.
The ID of the ensemble that manages all the realizations associated with the scenario.
The description of this scenario.
Details of the last update to a resource.
{ "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" }
Details about the creation of a resource.
{ "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" }
A scenario is marked as selected when it has been featured above other scenarios in the same study by a user.
The collection of the scenario's decisions.
[ { "id": "01CP3E6EJJ25J29YHZ0K4RDZH8", "title": "A development decision" } ]
The colour of this scenario represented as a HTML hex value (e.g. "#ffa71a").
The development concept id which is associated with this scenario.
{ "id": "01CP3E6EJJ25J29YHZ0K4RDZH8", "displayID": "S1", "title": "Minimal investment", "description": "Minimal investment development option scenario.", "lastUpdated": { "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" }, "created": { "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" }, "isSelected": false, "colour": "#ff0000", "version": 2, "associatedDevelopmentConceptId": "01CP3E6EJJ25J29YHZ0K4ANIH8", "associatedOpportunityIDs": [ "01CP3E6EJJ25J29YHZ0K4ANABC", "01CP3E6EJJ25J29YHZ0K4ANDEF" ] }