PUT api/WellField?id={id}
Put well field
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Well field id |
integer |
Required |
Body Parameters
Well field
WellFieldDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Well field id |
integer |
None. |
Name |
Well field name |
string |
Required |
Description |
Field description |
string |
None. |
WellRegionId |
Well region id: well field parent |
integer |
Required |
WellGroupsDto |
Well group dto list |
Collection of WellGroupDto |
None. |
ListOfSectionOfWieldDto |
List of sections of well field: well field has few sections |
Collection of SectionOfWieldDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "WellRegionId": 4, "WellGroupsDto": [ { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "WellFieldId": 4, "WellsDto": [ { "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": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" } ] }, { "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": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWroupDto": [ { "WroupId": 1, "Id": "962c5415-45c7-4a39-89bf-868da8756bb9", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WroupId": 1, "Id": "962c5415-45c7-4a39-89bf-868da8756bb9", "IsVisible": true, "SectionPatternId": "sample string 4" } ] }, { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "WellFieldId": 4, "WellsDto": [ { "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": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" } ] }, { "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": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "0e05804d-d51f-46ae-aa83-8b01e2dd2700", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWroupDto": [ { "WroupId": 1, "Id": "962c5415-45c7-4a39-89bf-868da8756bb9", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WroupId": 1, "Id": "962c5415-45c7-4a39-89bf-868da8756bb9", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWieldDto": [ { "WieldId": 1, "Id": "ce298947-29a8-49e6-a6d7-7eff0d9e862c", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WieldId": 1, "Id": "ce298947-29a8-49e6-a6d7-7eff0d9e862c", "IsVisible": true, "SectionPatternId": "sample string 4" } ] }
application/xml, text/xml
Sample:
<WellFieldDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <Description>sample string 3</Description> <Id>1</Id> <ListOfSectionOfWieldDto> <SectionOfWieldDto> <Id>ce298947-29a8-49e6-a6d7-7eff0d9e862c</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WieldId>1</WieldId> </SectionOfWieldDto> <SectionOfWieldDto> <Id>ce298947-29a8-49e6-a6d7-7eff0d9e862c</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WieldId>1</WieldId> </SectionOfWieldDto> </ListOfSectionOfWieldDto> <Name>sample string 2</Name> <WellGroupsDto> <WellGroupDto> <Description>sample string 3</Description> <Id>1</Id> <ListOfSectionOfWroupDto> <SectionOfWroupDto> <Id>962c5415-45c7-4a39-89bf-868da8756bb9</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> <SectionOfWroupDto> <Id>962c5415-45c7-4a39-89bf-868da8756bb9</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> </ListOfSectionOfWroupDto> <Name>sample string 2</Name> <WellFieldId>4</WellFieldId> <WellsDto> <WellDto> <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>0e05804d-d51f-46ae-aa83-8b01e2dd2700</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>0e05804d-d51f-46ae-aa83-8b01e2dd2700</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> <WellDto> <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>0e05804d-d51f-46ae-aa83-8b01e2dd2700</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>0e05804d-d51f-46ae-aa83-8b01e2dd2700</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> </WellsDto> </WellGroupDto> <WellGroupDto> <Description>sample string 3</Description> <Id>1</Id> <ListOfSectionOfWroupDto> <SectionOfWroupDto> <Id>962c5415-45c7-4a39-89bf-868da8756bb9</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> <SectionOfWroupDto> <Id>962c5415-45c7-4a39-89bf-868da8756bb9</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> </ListOfSectionOfWroupDto> <Name>sample string 2</Name> <WellFieldId>4</WellFieldId> <WellsDto> <WellDto> <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>0e05804d-d51f-46ae-aa83-8b01e2dd2700</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>0e05804d-d51f-46ae-aa83-8b01e2dd2700</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> <WellDto> <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>0e05804d-d51f-46ae-aa83-8b01e2dd2700</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>0e05804d-d51f-46ae-aa83-8b01e2dd2700</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> </WellsDto> </WellGroupDto> </WellGroupsDto> <WellRegionId>4</WellRegionId> </WellFieldDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Changed well field
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.