- FDPlan
- Update an existing Key Performance Indicator (KPI) or create a new one.
Registers a new custom Key Performance Indicator (KPI) or updates an existing one, identified by its immutable kpiName. Use this to extend the partition catalog with metrics beyond the built-in system KPIs. Returns 201 when a KPI is created and 200 when an existing one is updated; built-in system KPIs cannot be modified.
The KPI details to update or create.
The description of KPI.
The value type of KPI.
The default objective operator to be used for new KPOs created for the KPI.
The priority of the KPI. Increasing value indicates lower priority.
- https://api.delfi.slb.com/fdplan/studieshttps://api.delfi.slb.com/fdplan/studies/v1/kpis/{kpiName}
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-studies/v1/kpis/{kpiName}
curl -i -X PUT \
'https://api.delfi.slb.com/fdplan/studies/v1/kpis/{kpiName}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '{
"description": "Capital Expenditures at first year",
"type": "Money",
"defaultObjectiveOperator": "Less Than",
"unit": "M$",
"priority": 11,
"archived": false,
"measurement": "osdu:reference-data--UnitOfMeasure:1E6%20USD:"
}'The KPI was updated.
The description of KPI.
The value type of KPI.
The default objective operator to be used for new KPOs created for the KPI.
The priority of the KPI. Increasing value indicates lower priority.
The measurement for this KPI.
Details of the last update to a resource.
{ "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" }
{ "description": "Capital Expenditures at first year", "type": "Money", "defaultObjectiveOperator": "Less Than", "unit": "M$", "priority": 11, "archived": false, "measurement": "osdu:reference-data--UnitOfMeasure:1E6%20USD:", "name": "First Year Capex", "isSystem": false, "lastUpdated": { "atDate": "2020-09-08T09:53:36.000Z", "byEvent": "01EHPJ54HEA77K95T5KPH5JSW9", "byUser": "user@slb.com" } }