Question that I am sure is answered somewhere in this forum or within the docs but am struggling to find it so I figured I would drop a question:
When uploading daily production volumes, do those map to company or project level?
Finally getting around to loading our production volumes on a daily basis into CC and doing some practice on our dev site - but and wondering what will happen when I switch to loading via production and since these are company level wells, will it cast over all the projects?
Thanks a ton
We have both company-level and project-level daily and monthly production endpoints. If the company-level endpoints are used, then the production records are stored at the company level by omitting the project id. If they use the project-level endpoints, the production records have a project field that stores the project id.
1 Like
keltonTestData = [{
"date": "2021-05-01",
"chosenID": "42483310150000",
"oil": 0.83,
"gas": 73.0,
"water": 60.0,
"dataSource": "di"
}]
projectId = "64021df74295aa0012e4e3ea"
url = "https://api.combocurve.com/v1/projects/" + projectId + "/daily-productions"
auth_headers = combocurve_auth.get_auth_headers()
response = requests.put(url, headers=auth_headers, json=keltonTestData)
responseCode = response.status_code # sets response code to the current state
# parse as json string
results = response.json()
# setting to length of results
numEntries = len(results)
if responseCode == 200:
print("Status Code is 200")
print(str(numEntries) + " entries read")
else:
print("The Status Code: " + str(response.status_code))
Getting an error "‘No well was found with data source other
and chosen id 42483310150000
in project 64021df74295aa0012e4e3ea:Test Kelton
’
I have tried all the other data sources (99% sure this is from DI orginally). The interesting part is when I remove to project endpoints - it works!
What am I missing?? Thanks as always
You can check whether a given Well is scoped to the Project or Company level in the Project Wells table shown in your screenshot.
First click on the header config button:
Then type “scope” into the search box, select the Scope header, and click Apply:

The Project Well table should then include the Scope header:
If the Scope value for a particular Well is “Project” then you would use a URL in the following format to retrieve daily productions:
https://api.combocurve.com/v1/projects/{projectId}/daily-productions
If the Scope value for a particular Well is “Company” then you would use a URL in the following format to retrieve daily productions:
https://api.combocurve.com/v1/daily-productions
1 Like
thats very helpful!! Thanks a ton!!