Is there any additional information into chosenID field? I noticed I was trying to pass a string into it and it would delete blank spaces. Is there a character limit on this field as I am generating well sticks without API14s (the typical chosenID if using DI’s data)
The chosenID field only admits alphanumeric characters (i.e. English uppercase and lowercase letters, and digits). If you do a data import through the website, it will remove any other character automatically. When you import wells through the REST API, however, it should return an error for that well, and it won’t be inserted or updated. We try to be more strict with the validation in the REST API, and avoid any automatic behavior that could be unexpected for the user. We also have an additional validation in place in the API (we’re not doing it when using data import from the website) that the length of the chosenID can’t exceed 32 characters.
So, summarizing, when importing through the REST API, the chosenID must have a max length of 32 characters, and can only contain alphanumeric characters. If any of these validations fail, an error will be returned and the well will not be imported. When importing through the website, there is no length restriction, but it is also expected that it only contains alphanumeric characters. Any non-alphanumeric character will be silently removed from the chosenID, and the import will carry on successfully after doing that change.