Skip to content

Upload file associated with a container

Request

Upload file associated with a container.

Security
bearer and appkey
Path
containerIdstringrequired

The ID of the container

Headers
slb-partition-idstringrequired

Data partition id.

Bodymultipart/form-datarequired
uploadFilestring, (binary)required

The file to upload.

curl -i -X POST \
  'https://api.delfi.slb.com/fdplan/evaluation/v1/containers/{containerId}/files' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: multipart/form-data' \
  -H 'appkey: YOUR_API_KEY_HERE' \
  -H 'slb-partition-id: string' \
  -F uploadFile=@uploadFile.bin

Responses

File uploaded successfully.

Bodyapplication/octet-stream
fileURIstring

The relative URI of the file.

Example:"01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV/production-forecast.json"
Response
{
  "fileURI": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV/production-forecast.json"
}