Custom datatype registration.
POST {{baseUrl}}/dataTypes
Initiates a registration for list of custom datatypes for given datatype name and regular expression patterns. There can be one or more pattern for a given custom data type. The custom datatype is being used by DataUpload process during schema generation. The custom datatype registration is rejected for the current tenant if invalid regular expression pattern is provided. The custom datatype applies to all the files ingested for the current tenant. The tenant can have maximum 200 datatypes per tenant and each datatype cannot exceed 10 regular expression pattern per datatypename. This returns unique *name that can be used to retrieve the custom data type.
Request Body
{"name"=>"<string>", "patterns"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"name":"VIN_NUMBER","patterns":["[A-HJ-NPR-Z0-9]{17}"]}