Create bulk import job for importing time series data
POST {{baseUrl}}/importJobs
Creates an import job resource to asynchronously import IoT time series data from files uploaded through IoT File Service. After successful creation of an import job, the provided file contents are validated and imported in the background. The status of a job can be retrieved using the returned job ID. Note that in case of validation errors occuring during or after job creation, no time series data is imported from any of the provided files.
Restrictions:
Currently only one asset-aspect (entity-property set) combination can be specified as target of the import. Data for performance assets (entities) must be older than 30 minutes in order to be imported, while for simulation assets (entities) no restriction on minimum age exists. In case of simulation assets (entities), all data must be within the same hour.
The overall size of the files used to import data for one asset-aspect (entity-property set) combination is limited: - For simulation assets (entities), a maximum of 350 MB per hour is allowed
- For performance assets (entities), a maximum of 1 GB is allowed
Note that hour and day intervals are fixed with respect to UTC time hours and days.
A maximum of 100 files can be specified per request.
Request Body
{"data"=>[{"entity"=>"<string>", "propertySetName"=>"<string>", "timeseriesFiles"=>[{"filePath"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}, {"filePath"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |