PUT api/Well?id={id}
Put well
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Well id |
integer |
Required |
Body Parameters
Well
WellDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Well id |
integer |
None. |
| WellGroupId |
Well group id |
integer |
Required |
| SketchDesc |
Sketch description |
string |
Max length: 8000 |
| WellType |
Well type |
string |
Max length: 20 |
| FlowType |
Flow type |
string |
Max length: 20 |
| Comment |
Well comment |
string |
Max length: 8000 |
| Name |
Well name |
string |
Required Max length: 255 |
| Description |
Well description |
string |
Max length: 8000 |
| ProductionHistory |
Well production history |
string |
Max length: 8000 |
| CompletionType |
Completion type |
string |
Max length: 8000 |
| DrillingDate |
Drilling date |
unsigned integer |
None. |
| FormationCompleteState |
Formation complete state |
string |
Max length: 8000 |
| IntegrityStatus |
Integrity status |
string |
Max length: 8000 |
| LastInterventionDate |
Last intervention date |
unsigned integer |
None. |
| LastInterventionType |
Last intervention type |
string |
Max length: 8000 |
| PerforationDepth |
Perforation depth |
string |
Max length: 8000 |
| PressureData |
Pressure data |
string |
Max length: 8000 |
| Pvt |
Pvt |
string |
Max length: 8000 |
| ReservoirData |
Reservoir data |
string |
Max length: 8000 |
| IsActive |
Whether this well is active: for monitoring, potential tables, etc. |
boolean |
None. |
| ListOfSectionOfWellDto |
List of sections of well |
Collection of SectionOfWellDto |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"WellGroupId": 2,
"SketchDesc": "sample string 3",
"WellType": "sample string 4",
"FlowType": "sample string 5",
"Comment": "sample string 6",
"Name": "sample string 7",
"Description": "sample string 8",
"ProductionHistory": "sample string 9",
"CompletionType": "sample string 10",
"DrillingDate": 1,
"FormationCompleteState": "sample string 11",
"IntegrityStatus": "sample string 12",
"LastInterventionDate": 1,
"LastInterventionType": "sample string 13",
"PerforationDepth": "sample string 14",
"PressureData": "sample string 15",
"Pvt": "sample string 16",
"ReservoirData": "sample string 17",
"IsActive": true,
"ListOfSectionOfWellDto": [
{
"WellId": 1,
"Id": "ddd7e45d-4119-4e00-86d0-b1abf8b90ad3",
"IsVisible": true,
"SectionPatternId": "sample string 4"
},
{
"WellId": 1,
"Id": "ddd7e45d-4119-4e00-86d0-b1abf8b90ad3",
"IsVisible": true,
"SectionPatternId": "sample string 4"
}
]
}
application/xml, text/xml
<WellDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
<Comment>sample string 6</Comment>
<CompletionType>sample string 10</CompletionType>
<Description>sample string 8</Description>
<DrillingDate>1</DrillingDate>
<FlowType>sample string 5</FlowType>
<FormationCompleteState>sample string 11</FormationCompleteState>
<Id>1</Id>
<IntegrityStatus>sample string 12</IntegrityStatus>
<IsActive>true</IsActive>
<LastInterventionDate>1</LastInterventionDate>
<LastInterventionType>sample string 13</LastInterventionType>
<ListOfSectionOfWellDto>
<SectionOfWellDto>
<Id>ddd7e45d-4119-4e00-86d0-b1abf8b90ad3</Id>
<IsVisible>true</IsVisible>
<SectionPatternId>sample string 4</SectionPatternId>
<WellId>1</WellId>
</SectionOfWellDto>
<SectionOfWellDto>
<Id>ddd7e45d-4119-4e00-86d0-b1abf8b90ad3</Id>
<IsVisible>true</IsVisible>
<SectionPatternId>sample string 4</SectionPatternId>
<WellId>1</WellId>
</SectionOfWellDto>
</ListOfSectionOfWellDto>
<Name>sample string 7</Name>
<PerforationDepth>sample string 14</PerforationDepth>
<PressureData>sample string 15</PressureData>
<ProductionHistory>sample string 9</ProductionHistory>
<Pvt>sample string 16</Pvt>
<ReservoirData>sample string 17</ReservoirData>
<SketchDesc>sample string 3</SketchDesc>
<WellGroupId>2</WellGroupId>
<WellType>sample string 4</WellType>
</WellDto>
application/x-www-form-urlencoded
Response Information
Resource Description
Changed well
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.