Problem:
You may have attributes that are specific to your organization that you may want to have available in ComboCurve.
Solution:
ComboCurve supports custom well headers, and they can be pushed using the REST API.
The following data types are supported for custom fields:
Boolean
Date
Number
String
The field names for the custom fields are static when sending data back and forth through the API, as shown below, but the field names shown in the ComboCurve app can be customized in the Company > Custom Columns page.
This is helpful Maikel. So it appears there are no material differences between the full array of header fields when connecting via API and those currently within the project-level Combo Curve platform. Is that fair?
Yes, the custom fields in the REST API refer to the same custom fields in the ComboCurve UI. The UI additionally allows to control which what is used across the app, for example you can set customString0 to something like Interest Type , but this is a display name only and does not affect the fields synced through the API.
@maikel.ruiz thanks for this page - creating a customString header to denote region and was wondering if I could edit the field instead of just in the UI
@michael.tanner so to confirm, you would like to edit the display name (e.g. Region) through REST API directly and not having to do it manually through the UI?
If that’s the case, that’s not currently available, but we can track it as a feature request.
@maikel.ruiz not exactly (though that would be cool!) - I created a custom text header in the UI and named it “Client” but when I GET wells, its returns the name as “customStringetc” and then the correct region value - no biggie just need to track any custom headers I create
Does this function work for the customString fields? We track our geology tops (i.e. which zone is each well in according to our geologists?) in a custom string field when we import them into the company level database. However, every time we Push header data into Combo Curve, the customString field seems to be deleted. Will this be updated to include customStrings?
How are you importing the values for the customString field currently?
If you push headers through REST API using the PUT method, it overwrites each record entirely meaning that any field not included will be reset. I think that behavior may be affecting you if you are importing the customString fields separately.
To avoid the PUT method resetting fields coming from different imports, you could use a combination of POST (creates new records only) + PATCH (partially updates existing records only).
I think this might be a similar issue we are having as well. We have started updating well headers through the rest API and it appears that if we update custom columns manually through the front end or load in data to a custom column using a spreadsheet the custom column gets cleared out after a rest API update even if we aren’t mapped to that particular custom header column. Is it not possible to not have custom columns cleared out when header data is updated using the rest API?
Yes, it’s possible, see my previous comment above.
If you push headers through REST API using the PUT method, it overwrites each record entirely meaning that any field not included will be reset. I think that behavior may be affecting you if you are importing the customString fields separately.
To avoid the PUT method resetting fields coming from different imports, you could use a combination of POST (creates new records only) + PATCH (partially updates existing records only).