POST api/{stagePlural}/sections/{idOfSection}/file-specs/{idOfFileSpec}/perfomance-data/{indexOfStartRow}

Post well file to production data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stagePlural

Stage in plural mode (only "wells")

string

Required

idOfSection

Id of section

globally unique identifier

Required

idOfFileSpec

Id of file section

globally unique identifier

Required

indexOfStartRow

Index of the start row

integer

Required

Body Parameters

Column attribute list

Collection of ColumnAttribute
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Format

string

None.

Description

string

None.

ColumnColor

string

None.

StartValue

decimal number

None.

EndValue

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Format": "sample string 3",
    "Description": "sample string 4",
    "ColumnColor": "sample string 5",
    "StartValue": 1.1,
    "EndValue": 1.1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Format": "sample string 3",
    "Description": "sample string 4",
    "ColumnColor": "sample string 5",
    "StartValue": 1.1,
    "EndValue": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfColumnAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
  <ColumnAttribute>
    <ColumnColor>sample string 5</ColumnColor>
    <Description>sample string 4</Description>
    <EndValue>1.1</EndValue>
    <Format>sample string 3</Format>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StartValue>1.1</StartValue>
  </ColumnAttribute>
  <ColumnAttribute>
    <ColumnColor>sample string 5</ColumnColor>
    <Description>sample string 4</Description>
    <EndValue>1.1</EndValue>
    <Format>sample string 3</Format>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StartValue>1.1</StartValue>
  </ColumnAttribute>
</ArrayOfColumnAttribute>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Import status

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.