POST api/WellField
Post well field
Request Information
URI Parameters
None.
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": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "22ee70c5-0262-4f18-9a45-15ea84918e89", "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": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWroupDto": [ { "WroupId": 1, "Id": "a1619e01-d9a2-43ce-a445-897ba05d13fa", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WroupId": 1, "Id": "a1619e01-d9a2-43ce-a445-897ba05d13fa", "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": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "22ee70c5-0262-4f18-9a45-15ea84918e89", "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": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WellId": 1, "Id": "22ee70c5-0262-4f18-9a45-15ea84918e89", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWroupDto": [ { "WroupId": 1, "Id": "a1619e01-d9a2-43ce-a445-897ba05d13fa", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WroupId": 1, "Id": "a1619e01-d9a2-43ce-a445-897ba05d13fa", "IsVisible": true, "SectionPatternId": "sample string 4" } ] } ], "ListOfSectionOfWieldDto": [ { "WieldId": 1, "Id": "fb80531d-5e2b-4bc3-bb20-5767c94e5fc4", "IsVisible": true, "SectionPatternId": "sample string 4" }, { "WieldId": 1, "Id": "fb80531d-5e2b-4bc3-bb20-5767c94e5fc4", "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>fb80531d-5e2b-4bc3-bb20-5767c94e5fc4</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WieldId>1</WieldId> </SectionOfWieldDto> <SectionOfWieldDto> <Id>fb80531d-5e2b-4bc3-bb20-5767c94e5fc4</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>a1619e01-d9a2-43ce-a445-897ba05d13fa</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> <SectionOfWroupDto> <Id>a1619e01-d9a2-43ce-a445-897ba05d13fa</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>22ee70c5-0262-4f18-9a45-15ea84918e89</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>22ee70c5-0262-4f18-9a45-15ea84918e89</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>22ee70c5-0262-4f18-9a45-15ea84918e89</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>22ee70c5-0262-4f18-9a45-15ea84918e89</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>a1619e01-d9a2-43ce-a445-897ba05d13fa</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WroupId>1</WroupId> </SectionOfWroupDto> <SectionOfWroupDto> <Id>a1619e01-d9a2-43ce-a445-897ba05d13fa</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>22ee70c5-0262-4f18-9a45-15ea84918e89</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>22ee70c5-0262-4f18-9a45-15ea84918e89</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>22ee70c5-0262-4f18-9a45-15ea84918e89</Id> <IsVisible>true</IsVisible> <SectionPatternId>sample string 4</SectionPatternId> <WellId>1</WellId> </SectionOfWellDto> <SectionOfWellDto> <Id>22ee70c5-0262-4f18-9a45-15ea84918e89</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
Created well field
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.