The "importwellsbyfile" web service imports a CSV well in the specified data source.
A typical URL is http://myserver.mycompany.com:8080/INTGeoServer/api/ds/{datasourcetype}/v1/sources/{datasource}/wells/import with the POST method.
where
datasourcetype: type of a datasource, i.e. mongo, s3, etc.
datasource: unique id of a datasource
The following parameters are available:
importoptions : a JSON array representing import options. The following parameters are available:
wellName: is the name of well to import This is an optional parameter. The default is the name of the file.
logName is the name of a well log. This is an optional parameter.
indexId: a comma separated string representing indices
overwrite indicates whether to override an existing well table. If overwrite is false and a well table already exists then an error will be thrown. This is an optional parameter. The default is false.
nullValue specifies what value will be treated as null
delimiter is the character delimiter, if not specified then "," will be used (does not work with 'whitespace and tab' option)
headerNameRow is the 1 based index of row where header first appears. This is an optional parameter.
headerTypeRow is the 1 based index of row where data types first appears. This is an optional parameter.
headerUnitRow is the 1 based index of row where data units first appears. This is an optional parameter.
dataValuesRow is the 1 based index of row where data first appears
timeZone is the time zone used for dates formatting. This is an optional parameter.
curvesDictionary is a JSON object representing column mappings. For each column mapping:
name is the name of a column in a CSV file
index is the 1 based index of a column
type is the data typed of a column value: double, datetime, long, integer, etc. This is an optional parameter.
unit is a unit of measurement of a column. This is an optional parameter.
dateFormat is a format used to transform dates. This is an optional parameter.
timeFormat is a format used to transform time. This is an optional parameter.
dateTimeFormatSeparator is the character delimiter, if not specified then " " will be used
timeFirst indicates whether the time precedes the date
description is a column description
files: a file containing a being imported well log dataset. This is required parameter.