POST api/wells/{idOfWell}/nodal-analyzes
Post nodal analysis
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idOfWell |
Well |
integer |
Required |
Body Parameters
Nodal analysis DTO to create
NodalAnalysisOfWellDto| Name | Description | Type | Additional 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": "b69fa2f2-3279-468d-b87f-0587c45e850b",
"Name": "sample string 3",
"Description": "sample string 4",
"FileSpecDto": {
"Id": "132d1100-ca5a-4d4f-a441-f688e9f085c0",
"Name": "sample string 2",
"Extension": "sample string 3",
"ContentType": "sample string 4",
"Length": 5,
"ContainerName": "041d1ee7-5b58-46a5-9569-3427a94351ec",
"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>041d1ee7-5b58-46a5-9569-3427a94351ec</ContainerName>
<ContentType>sample string 4</ContentType>
<CreatedUnixTime>7</CreatedUnixTime>
<Extension>sample string 3</Extension>
<FileUrl>sample string 8</FileUrl>
<Id>132d1100-ca5a-4d4f-a441-f688e9f085c0</Id>
<ImgHeight>1</ImgHeight>
<ImgWidth>1</ImgWidth>
<Length>5</Length>
<Name>sample string 2</Name>
</FileSpecDto>
<IdOfFileSpec>b69fa2f2-3279-468d-b87f-0587c45e850b</IdOfFileSpec>
<IdOfWell>1</IdOfWell>
<Name>sample string 3</Name>
</NodalAnalysisOfWellDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created model
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.