PUT api/wells/{idOfWell}/nodal-analyzes/{idOfFileSpec}

Put nodal analysis

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idOfWell

Id of well

integer

Required

idOfFileSpec

Id of file specification

globally unique identifier

Required

Body Parameters

Nodal analysis DTO model

NodalAnalysisOfWellDto
NameDescriptionTypeAdditional information
IdOfWell

Id of well

integer

None.

IdOfFileSpec

Id of file specification

globally unique identifier

None.

Name

Volume name

string

None.

Description

Volume description

string

None.

FileSpecDto

File specification for this volume

FileSpecDto

None.

Request Formats

application/json, text/json

Sample:
{
  "IdOfWell": 1,
  "IdOfFileSpec": "f2c8133b-a032-4b3d-bd67-e3cc968ebc45",
  "Name": "sample string 3",
  "Description": "sample string 4",
  "FileSpecDto": {
    "Id": "d83d6a2a-d719-4b57-8ade-8879a847778d",
    "Name": "sample string 2",
    "Extension": "sample string 3",
    "ContentType": "sample string 4",
    "Length": 5,
    "ContainerName": "a6a85633-3ffe-4e3a-be80-e3de62ea3646",
    "CreatedUnixTime": 7,
    "FileUrl": "sample string 8",
    "ImgWidth": 1,
    "ImgHeight": 1
  }
}

application/xml, text/xml

Sample:
<NodalAnalysisOfWellDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
  <Description>sample string 4</Description>
  <FileSpecDto>
    <ContainerName>a6a85633-3ffe-4e3a-be80-e3de62ea3646</ContainerName>
    <ContentType>sample string 4</ContentType>
    <CreatedUnixTime>7</CreatedUnixTime>
    <Extension>sample string 3</Extension>
    <FileUrl>sample string 8</FileUrl>
    <Id>d83d6a2a-d719-4b57-8ade-8879a847778d</Id>
    <ImgHeight>1</ImgHeight>
    <ImgWidth>1</ImgWidth>
    <Length>5</Length>
    <Name>sample string 2</Name>
  </FileSpecDto>
  <IdOfFileSpec>f2c8133b-a032-4b3d-bd67-e3cc968ebc45</IdOfFileSpec>
  <IdOfWell>1</IdOfWell>
  <Name>sample string 3</Name>
</NodalAnalysisOfWellDto>

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 'NodalAnalysisOfWellDto'.

Response Information

Resource Description

Changed object

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.