POST api/WellGroup
Post well group
Request Information
URI Parameters
None.
Body Parameters
Well group
WellGroupDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Id |
integer |
None. |
Name |
Well group name |
string |
Required |
Description |
Group description |
string |
None. |
WellFieldId |
Well field id |
integer |
None. |
WellsDto | Collection of WellDto |
None. |
|
ListOfSectionOfWroupDto |
List of sections |
Collection of SectionOfWroupDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "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": "3f21f32d-8d7d-4cea-ac09-2ec13f659f4f", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "3f21f32d-8d7d-4cea-ac09-2ec13f659f4f", "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": "3f21f32d-8d7d-4cea-ac09-2ec13f659f4f", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "3f21f32d-8d7d-4cea-ac09-2ec13f659f4f", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWroupDto": [ { "WroupId": 1, "Id": "a802a1b3-efb6-4935-a44f-49a317650699", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WroupId": 1, "Id": "a802a1b3-efb6-4935-a44f-49a317650699", "IsVisible": true, "SectionPatternId": "sample string 4" } ] }
application/xml, text/xml
Sample:
<WellGroupDto 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> <ListOfSectionOfWroupDto> <SectionOfWroupDto> <Id>a802a1b3-efb6-4935-a44f-49a317650699</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> <SectionOfWroupDto> <Id>a802a1b3-efb6-4935-a44f-49a317650699</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>3f21f32d-8d7d-4cea-ac09-2ec13f659f4f</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>3f21f32d-8d7d-4cea-ac09-2ec13f659f4f</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>3f21f32d-8d7d-4cea-ac09-2ec13f659f4f</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>3f21f32d-8d7d-4cea-ac09-2ec13f659f4f</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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created well group
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.