combocurve-client-csharp

Logo

C# client for the ComboCurve REST API

View the Project on GitHub insidepetroleum/combocurve-client-csharp

ComboCurve.Api.Api.ProjectWellsApi

All URIs are relative to https://api.combocurve.com

Method HTTP request Description
DeleteProjectWellById DELETE /v1/projects/{projectId}/wells/{id} Delete the well document that matches the given id scoped to projectId project.
DeleteProjectWells DELETE /v1/projects/{projectId}/wells Delete the wells documents that match the given filters scoped to projectId project.
GetProjectWellById GET /v1/projects/{projectId}/wells/{id} Returns the well document that matches the given id scoped to projectId project.
GetProjectWells GET /v1/projects/{projectId}/wells Returns a list of well documents scoped to projectId project.
HeadProjectWells HEAD /v1/projects/{projectId}/wells Returns metadata about the existing well documents scoped to projectId project.
PatchProjectWellById PATCH /v1/projects/{projectId}/wells/{id} Updates the well document that matches the given id in the specified project's scope.
PatchProjectWells PATCH /v1/projects/{projectId}/wells Updates a list of well documents in the specified project's scope.
PostProjectsWells POST /v1/projects/{projectId}/wells Inserts a list of well documents into the specified project's scope.
PutProjectsWells PUT /v1/projects/{projectId}/wells Replaces a list of well documents in the specified project's scope.
PutProjectsWellsById PUT /v1/projects/{projectId}/wells/{id} Replaces the well document that matches the given id in the specified project's scope.

DeleteProjectWellById

void DeleteProjectWellById (string projectId, string id)

Delete the well document that matches the given id scoped to projectId project.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class DeleteProjectWellByIdExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var id = "id_example";  // string | 

            try
            {
                // Delete the well document that matches the given id scoped to projectId project.
                apiInstance.DeleteProjectWellById(projectId, id);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.DeleteProjectWellById: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
id string    

Return type

void (empty response body)

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 204 | OK | * X-Delete-Count - The number of records that match the given filters and were deleted. | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

DeleteProjectWells

void DeleteProjectWells (string projectId, string chosenID = null, string dataSource = null, string id = null)

Delete the wells documents that match the given filters scoped to projectId project.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class DeleteProjectWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var chosenID = new string[] { "chosenID_example" };  // IEnumerable<string> | filter by chosenID (optional)
            var dataSource = "dataSource_example";  // string | filter by dataSource (optional)
            var id = new string[] { "id_example" };  // IEnumerable<string> | filter by id (optional)

            try
            {
                // Delete the wells documents that match the given filters scoped to projectId project.
                apiInstance.DeleteProjectWells(projectId, chosenID, dataSource, id);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.DeleteProjectWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
chosenID string filter by chosenID [optional]
dataSource string filter by dataSource [optional]
id string filter by id [optional]

Return type

void (empty response body)

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 204 | OK | * X-Delete-Count - The number of records that match the given filters and were deleted. | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetProjectWellById

Well GetProjectWellById (string projectId, string id)

Returns the well document that matches the given id scoped to projectId project.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class GetProjectWellByIdExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var id = "id_example";  // string | 

            try
            {
                // Returns the well document that matches the given id scoped to projectId project.
                Well result = apiInstance.GetProjectWellById(projectId, id);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.GetProjectWellById: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
id string    

Return type

Well

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 200 | OK | - | | 400 | Bad Request. There is something wrong with the request data. | - | | 404 | Not Found | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetProjectWells

ICollection<Well> GetProjectWells (string projectId, int? skip = null, int? take = null, string sort = null, string cursor = null, string api10 = null, string api12 = null, string county = null, string state = null, string wellName = null, string chosenID = null, string inptID = null, string api14 = null, DateTimeOffset? createdAt = null, DateTimeOffset? updatedAt = null, string dataSource = null, string currentOperator = null)

Returns a list of well documents scoped to projectId project.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class GetProjectWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var skip = 56;  // int? | number of items to skip (optional) (default to 0)
            var take = 56;  // int? | max records to return (optional) (default to 25) (between 1 and 200)
            var sort = "sort_example";  // string | field to sort by, including + or - at the beginning for ascending or descending order, respectively (optional)
            var cursor = "cursor_example";  // string | used in pagination to get the next page (optional)
            var api10 = new string[] { "api10_example" };  // IEnumerable<string> | filter by api10 (optional)
            var api12 = new string[] { "api12_example" };  // IEnumerable<string> | filter by api12 (optional)
            var county = new string[] { "county_example" };  // IEnumerable<string> | filter by county (optional)
            var state = new string[] { "state_example" };  // IEnumerable<string> | filter by state (optional)
            var wellName = new string[] { "wellName_example" };  // IEnumerable<string> | filter by wellName (optional)
            var chosenID = new string[] { "chosenID_example" };  // IEnumerable<string> | filter by chosenID (optional)
            var inptID = "inptID_example";  // string | filter by inptID (optional)
            var api14 = new string[] { "api14_example" };  // IEnumerable<string> | filter by api14 (optional)
            var createdAt = DateTimeOffset.Parse("2013-10-20");  // DateTimeOffset? | filter by createdAt (optional)
            var updatedAt = DateTimeOffset.Parse("2013-10-20");  // DateTimeOffset? | filter by updatedAt (optional)
            var dataSource = "dataSource_example";  // string | filter by dataSource (optional)
            var currentOperator = "currentOperator_example";  // string | filter by dataSource (optional)

            try
            {
                // Returns a list of well documents scoped to projectId project.
                ICollection<Well> result = apiInstance.GetProjectWells(projectId, skip, take, sort, cursor, api10, api12, county, state, wellName, chosenID, inptID, api14, createdAt, updatedAt, dataSource, currentOperator);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.GetProjectWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
skip int? number of items to skip [optional] [default to 0]
take int? max records to return [optional] [default to 25] [between 1 and 200]
sort string field to sort by, including + or - at the beginning for ascending or descending order, respectively [optional]
cursor string used in pagination to get the next page [optional]
api10 string filter by api10 [optional]
api12 string filter by api12 [optional]
county string filter by county [optional]
state string filter by state [optional]
wellName string filter by wellName [optional]
chosenID string filter by chosenID [optional]
inptID string filter by inptID [optional]
api14 string filter by api14 [optional]
createdAt DateTimeOffset? filter by createdAt [optional]
updatedAt DateTimeOffset? filter by updatedAt [optional]
dataSource string filter by dataSource [optional]
currentOperator string filter by dataSource [optional]

Return type

ICollection<Well>

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 200 | OK | * Link - Indicates a typed relationship with another resource, where the relation type is defined by RFC 5988. We include the relationships next, prev, first and last, which can be used to move between pages of the list of results. | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

HeadProjectWells

void HeadProjectWells (string projectId, int? skip = null, int? take = null, string api10 = null, string api12 = null, string county = null, string state = null, string wellName = null, string chosenID = null, string inptID = null, string api14 = null, DateTimeOffset? createdAt = null, DateTimeOffset? updatedAt = null, string dataSource = null, string currentOperator = null)

Returns metadata about the existing well documents scoped to projectId project.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class HeadProjectWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var skip = 56;  // int? | number of items to skip (optional) (default to 0)
            var take = 56;  // int? | max records to return (optional) (default to 25) (between 1 and 200)
            var api10 = new string[] { "api10_example" };  // IEnumerable<string> | filter by api10 (optional)
            var api12 = new string[] { "api12_example" };  // IEnumerable<string> | filter by api12 (optional)
            var county = new string[] { "county_example" };  // IEnumerable<string> | filter by county (optional)
            var state = new string[] { "state_example" };  // IEnumerable<string> | filter by state (optional)
            var wellName = new string[] { "wellName_example" };  // IEnumerable<string> | filter by wellName (optional)
            var chosenID = new string[] { "chosenID_example" };  // IEnumerable<string> | filter by chosenID (optional)
            var inptID = "inptID_example";  // string | filter by inptID (optional)
            var api14 = new string[] { "api14_example" };  // IEnumerable<string> | filter by api14 (optional)
            var createdAt = DateTimeOffset.Parse("2013-10-20");  // DateTimeOffset? | filter by createdAt (optional)
            var updatedAt = DateTimeOffset.Parse("2013-10-20");  // DateTimeOffset? | filter by updatedAt (optional)
            var dataSource = "dataSource_example";  // string | filter by dataSource (optional)
            var currentOperator = "currentOperator_example";  // string | filter by dataSource (optional)

            try
            {
                // Returns metadata about the existing well documents scoped to projectId project.
                apiInstance.HeadProjectWells(projectId, skip, take, api10, api12, county, state, wellName, chosenID, inptID, api14, createdAt, updatedAt, dataSource, currentOperator);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.HeadProjectWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
skip int? number of items to skip [optional] [default to 0]
take int? max records to return [optional] [default to 25] [between 1 and 200]
api10 string filter by api10 [optional]
api12 string filter by api12 [optional]
county string filter by county [optional]
state string filter by state [optional]
wellName string filter by wellName [optional]
chosenID string filter by chosenID [optional]
inptID string filter by inptID [optional]
api14 string filter by api14 [optional]
createdAt DateTimeOffset? filter by createdAt [optional]
updatedAt DateTimeOffset? filter by updatedAt [optional]
dataSource string filter by dataSource [optional]
currentOperator string filter by dataSource [optional]

Return type

void (empty response body)

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 200 | OK | * X-Query-Count - The number of records in this resource. When filters are provided only matching records are counted.
* Link - Indicates a typed relationship with another resource, where the relation type is defined by RFC 5988. We include the relationships next, prev, first and last, which can be used to move between pages of the list of results. | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PatchProjectWellById

Well PatchProjectWellById (string projectId, string id, WellPatchInput well = null)

Updates the well document that matches the given id in the specified project’s scope.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class PatchProjectWellByIdExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var id = "id_example";  // string | 
            var well = new WellPatchInput(); // WellPatchInput |  (optional) 

            try
            {
                // Updates the well document that matches the given id in the specified project's scope.
                Well result = apiInstance.PatchProjectWellById(projectId, id, well);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.PatchProjectWellById: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
id string    
well WellPatchInput   [optional]

Return type

Well

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 200 | OK | - | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PatchProjectWells

WellMultiStatusResponse PatchProjectWells (string projectId, List well = null)

Updates a list of well documents in the specified project’s scope.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class PatchProjectWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var well = new List<WellPatchInput>(); // List<WellPatchInput> | Well documents to update. See WellPatchInputList. (optional) 

            try
            {
                // Updates a list of well documents in the specified project's scope.
                WellMultiStatusResponse result = apiInstance.PatchProjectWells(projectId, well);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.PatchProjectWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
well List<WellPatchInput> Well documents to update. See WellPatchInputList. [optional] [Max number of items is 1000]

Return type

WellMultiStatusResponse

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 207 | Multi-Status | - | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PostProjectsWells

WellMultiStatusResponse PostProjectsWells (string projectId, List well = null)

Inserts a list of well documents into the specified project’s scope.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class PostProjectsWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };

            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// Or use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string 
            var well = new List<WellInput> 
			{
                new WellInput(dataSource: "internal", chosenID: "42477310250000")
                {
                    // For PostWells the Id will be ignored, there is no need to include it
                    // Id = "5e272d38b78910dd2a1bd6a8",
                    Api14 = "42477310250000",
                    Abstract = "194",
                    Basin = "GULF COAST CENTRAL",
                    County = "WASHINGTON (TX)",
                    CurrentOperatorAlias = "ENERVEST",
                    Elevation = 434,
                    ElevationType = "KB EST",
                    Field = "GIDDINGS",
                    FirstFluidVolume = 0,
                    FirstProdDate = new DateTime(2000, 1, 1),
                    FirstPropWeight = 0,
                    GroundElevation = 416,
                    HoleDirection = "H",
                    LateralLength = 5919,
                    LeaseName = "SWM COOP UNIT WELL",
                    MeasuredDepth = 0,
                    PerfLateralLength = 0,
                    Play = "EAGLEBINE",
                    PrimaryProduct = "OIL & GAS",
                    State = "TX",
                    Status = "EXPIRED PERMIT",
                    SurfaceLatitude = 30.1550863m,
                    SurfaceLongitude = -96.7160343m,
                    Survey = "PHELPS, M",
                    ToeLatitude = 30.1419674m,
                    ToeLongitude = -96.7049507m,
                    TrueVerticalDepth = 11500,
                    WellName = "SWM COOP UNIT WELL",
                    WellNumber = "1H",
                    WellType = "OIL & GAS",
                    Api10 = "4247731025",
                    Api12 = "424773102500",
                    Country = "US",
                    CurrentOperator = "ENERVEST",
                    District = "03",
                    TargetFormation = "AUSTIN CHALK, GAS,AUSTIN CHALK-3",
                    AcreSpacing = 0,
                    AllocationType = "",
                    AriesId = "",
                    Azimuth = 0,
                    Bg = 0,
                    Block = "",
                    Bo = 0,
                    BubblePointPress = 0,
                    CasingId = 0,
                    ChokeSize = 0,
                    CompletionDesign = "",
                    CompletionEndDate = new DateTime(2000, 1, 1),
                    CompletionStartDate = new DateTime(2000, 1, 1),
                    CurrentOperatorCode = "",
                    CurrentOperatorTicker = "",
                    CustomBool0 = false,
                    CustomBool1 = false,
                    CustomBool2 = false,
                    CustomBool3 = false,
                    CustomBool4 = false,
                    CustomDate0 = new DateTime(2000, 1, 1),
                    CustomDate1 = new DateTime(2000, 1, 1),
                    CustomDate2 = new DateTime(2000, 1, 1),
                    CustomDate3 = new DateTime(2000, 1, 1),
                    CustomDate4 = new DateTime(2000, 1, 1),
                    CustomDate5 = new DateTime(2000, 1, 1),
                    CustomDate6 = new DateTime(2000, 1, 1),
                    CustomDate7 = new DateTime(2000, 1, 1),
                    CustomDate8 = new DateTime(2000, 1, 1),
                    CustomDate9 = new DateTime(2000, 1, 1),
                    CustomNumber0 = 0,
                    CustomNumber1 = 0,
                    CustomNumber2 = 0,
                    CustomNumber3 = 0,
                    CustomNumber4 = 0,
                    CustomNumber5 = 0,
                    CustomNumber6 = 0,
                    CustomNumber7 = 0,
                    CustomNumber8 = 0,
                    CustomNumber9 = 0,
                    CustomString0 = "",
                    CustomString1 = "",
                    CustomString2 = "",
                    CustomString3 = "",
                    CustomString4 = "",
                    CustomString5 = "",
                    CustomString6 = "",
                    CustomString7 = "",
                    CustomString8 = "",
                    CustomString9 = "",
                    DataSourceCustomName = "",
                    DateRigRelease = new DateTime(2000, 1, 1),
                    DewPointPress = 0,
                    DistanceFromBaseOfZone = 0,
                    DistanceFromTopOfZone = 0,
                    DrainageArea = 0,
                    DrillEndDate = new DateTime(2000, 1, 1),
                    DrillinginfoId = "",
                    DrillStartDate = new DateTime(2000, 1, 1),
                    FirstAdditiveVolume = 0,
                    FirstClusterCount = 0,
                    FirstFracVendor = "",
                    FirstMaxInjectionPressure = 0,
                    FirstMaxInjectionRate = 0,
                    FirstStageCount = 0,
                    FirstTestFlowTbgPress = 0,
                    FirstTestGasVol = 0,
                    FirstTestGor = 0,
                    FirstTestOilVol = 0,
                    FirstTestWaterVol = 0,
                    FirstTreatmentType = "",
                    FlowPath = "",
                    FluidType = "",
                    FootageInLandingZone = 0,
                    FormationThicknessMean = 0,
                    FractureConductivity = 0,
                    GasAnalysisDate = new DateTime(2000, 1, 1),
                    GasC1 = 0,
                    GasC2 = 0,
                    GasC3 = 0,
                    GasCo2 = 0,
                    GasGatherer = "",
                    GasH2 = 0,
                    GasH2o = 0,
                    GasH2s = 0,
                    GasHe = 0,
                    GasIc4 = 0,
                    GasIc5 = 0,
                    GasN2 = 0,
                    GasNc10 = 0,
                    GasNc4 = 0,
                    GasNc5 = 0,
                    GasNc6 = 0,
                    GasNc7 = 0,
                    GasNc8 = 0,
                    GasNc9 = 0,
                    GasO2 = 0,
                    GasSpecificGravity = 0,
                    GrossPerforatedInterval = 0,
                    HeelLatitude = 0,
                    HeelLongitude = 0,
                    HorizontalSpacing = 0,
                    HzWellSpacingAnyZone = 0,
                    HzWellSpacingSameZone = 0,
                    IhsId = "",
                    InitialRespress = 0,
                    InitialRestemp = 0,
                    LandingZone = "",
                    LandingZoneBase = 0,
                    LandingZoneTop = 0,
                    LeaseNumber = "",
                    LowerPerforation = 0,
                    MatrixPermeability = 0,
                    NglGatherer = "",
                    NumTreatmentRecords = 0,
                    OilApiGravity = 0,
                    OilGatherer = "",
                    OilSpecificGravity = 0,
                    ParentChildAnyZone = "",
                    ParentChildSameZone = "",
                    PercentInZone = 0,
                    PermitDate = new DateTime(2000, 1, 1),
                    PhdwinId = "",
                    Porosity = 0,
                    PreviousOperator = "",
                    PreviousOperatorAlias = "",
                    PreviousOperatorCode = "",
                    PreviousOperatorTicker = "",
                    PrmsReservesCategory = "",
                    PrmsReservesSubCategory = "",
                    PrmsResourcesClass = "",
                    ProductionMethod = "",
                    ProppantMeshSize = "",
                    ProppantType = "",
                    Range = "",
                    RecoveryMethod = "",
                    RefracAdditiveVolume = 0,
                    RefracClusterCount = 0,
                    RefracDate = new DateTime(2000, 1, 1),
                    RefracFluidVolume = 0,
                    RefracFracVendor = "",
                    RefracMaxInjectionPressure = 0,
                    RefracMaxInjectionRate = 0,
                    RefracPropWeight = 0,
                    RefracStageCount = 0,
                    RefracTreatmentType = "",
                    Rs = 0,
                    RsegId = "",
                    Section = "0",
                    Sg = 0,
                    So = 0,
                    SpudDate = new DateTime(2000, 1, 1),
                    StageSpacing = 0,
                    Subplay = "",
                    Sw = 0,
                    TgsId = "",
                    Thickness = 0,
                    Til = new DateTime(2000, 1, 1),
                    ToeInLandingZone = "",
                    ToeUp = "",
                    Township = "",
                    TubingDepth = 0,
                    TubingId = 0,
                    TypeCurveArea = "",
                    UpperPerforation = 0,
                    VerticalSpacing = 0,
                    VtWellSpacingAnyZone = 0,
                    VtWellSpacingSameZone = 0,
                    Zi = 0,
                }
            }; 

            try
            {
                // Inserts a list of well documents into the specified project's scope.
                WellMultiStatusResponse result = apiInstance.PostProjectsWells(projectId, well);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.PostProjectsWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
well List<WellInput> Well documents to insert. See WellInputList. [optional] [Max number of items is 1000]

Return type

WellMultiStatusResponse

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 207 | Multi-Status | - | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PutProjectsWells

WellMultiStatusResponse PutProjectsWells (string projectId, List well = null)

Replaces a list of well documents in the specified project’s scope.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class PutProjectsWellsExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var well = new List<WellInput>(); // List<WellInput> | Well documents to replace. See WellInputList. (optional) 

            try
            {
                // Replaces a list of well documents in the specified project's scope.
                WellMultiStatusResponse result = apiInstance.PutProjectsWells(projectId, well);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.PutProjectsWells: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
well List<WellInput> Well documents to replace. See WellInputList. [optional] [Max number of items is 1000]

Return type

WellMultiStatusResponse

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 207 | Multi-Status | - | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PutProjectsWellsById

Well PutProjectsWellsById (string projectId, string id, WellInput well = null)

Replaces the well document that matches the given id in the specified project’s scope.

Example

using System;
using System.Collections.Generic;
using System.Diagnostics;
using ComboCurve.Api.Api;
using ComboCurve.Api.Auth;
using ComboCurve.Api.Client;
using ComboCurve.Api.Model;

namespace Example
{
    public class PutProjectsWellsByIdExample
    {
        public static void Main()
        {
            // Use this to create your service account manually
            var serviceAccount = new ServiceAccount
            {
                ClientEmail = "YOUR_CLIENT_EMAIL",
                ClientId = "YOUR_CLIENT_ID",
                PrivateKey = "YOUR_PRIVATE_KEY"
            };
            // Or use this to load it from a JSON file
            // var serviceAccount = ServiceAccount.FromFile("PATH_TO_JSON_FILE");

            // Set your API key
            var apiKey = "YOUR_API_KEY";

            var apiInstance = new ComboCurveV1Api(serviceAccount, apiKey);

			// You can also use the specific API class
			// var apiInstance = new ProjectWellsApi(serviceAccount, apiKey);

            var projectId = "projectId_example";  // string | 
            var id = "id_example";  // string | 
            var well = new WellInput(); // WellInput |  (optional) 

            try
            {
                // Replaces the well document that matches the given id in the specified project's scope.
                Well result = apiInstance.PutProjectsWellsById(projectId, id, well);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ProjectWellsApi.PutProjectsWellsById: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
projectId string    
id string    
well WellInput   [optional]

Return type

Well

Authorization

API Key, Service Account

HTTP request headers

HTTP response details

| Status code | Description | Response headers | |————-|————-|——————| | 200 | OK | - | | 400 | Bad Request. There is something wrong with the request data. | - |

[Back to top] [Back to API list] [Back to Model list] [Back to README]