Ingest the provided file and start SDI's schema generation process.

POST {{baseUrl}}/ingestJobs

Initiate the data ingestion and start the SDI's schema generation process for the current tenant. This operation currently supports CSV and XML format files. The XML format file requires root element information that is entry point for this operation. This is provided as either rootTag parameter to this operation or registered as part of Data Registry API operation. There are two modes for data ingest. * Default: Allows performing the data ingest without need of any Data Registry. In this case service processes files with default policy for schema generation. The schema generated this way cannot be versioned or changed with different files. This mode is used for quick validating the generated schema. * Dataregistry: The operation uses Data Registry for ingested file to generate schema. This is preferred mode as it allows more validation against the Data Registry and create multiple schema based on different domains created under Data Registry. Using this mode customer can create combination of schemas from different domain and query them or use for analytical modelling. This works in combination with Data Registry API.

Request Body

{"dataTag"=>"<string>", "filePath"=>"<string>", "rootTag"=>"<string>", "sourceName"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;jobId&quot;:&quot;id&quot;,&quot;startedDate&quot;:&quot;eu tempor aliquip laboris&quot;,&quot;finishedDate&quot;:&quot;sed aliquip ex&quot;,&quot;message&quot;:&quot;commodo qui&quot;,&quot;fileName&quot;:&quot;consequat labore&quot;,&quot;status&quot;:&quot;FINISHED&quot;}