Creates a new parameter definition.
Security
bearer and appkey
A new parameter definition to create.
One of:
The parameter type.
string(ParameterTypeDto)
Enum:"Number""String""Boolean""Options"
One of:
The DrillPlan object type.
string(ObjectTypeDto)
Enum:"Well""Wellbore""Section"
- ProdEUhttps://eu-api.delfi.slb.com/drillplan/custom-parameters/v1/parameter-definitions
- ProdUShttps://api.delfi.slb.com/drillplan/custom-parameters/v1/parameter-definitions
- Mock serverhttps://developer.slb.com/_mock/solutions/drillplan/apis/customparametersapi/v1/parameter-definitions
curl -i -X POST \
https://eu-api.delfi.slb.com/drillplan/custom-parameters/v1/parameter-definitions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string' \
-d '{
"name": "string",
"type": "Number",
"level": "Well",
"description": "string",
"is_available_as_ddi": true,
"unique_id": "string",
"tags": [
"string"
],
"options": {
"property1": "string",
"property2": "string"
}
}'Response
{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "extensions": { "property1": null, "property2": null }, "property1": null, "property2": null }