Streams
Read the streams of a configuration.
This functionality is in preview mode - some of the features may not be fully operational yet.
Retrieves the streams belonging to a configuration, ordered by sequence.
- : Needed to trigger, schedule, monitor, and cancel import runs and to read configurations, streams, schedules, runs, and imported data.
The tenant you want to access.
mytenantThe configuration identifier.
7c9e6679-7425-40de-944b-e07fc1f90ae7The request was successful. The streams are returned.
A stream that extracts from a source, maps fields, and upserts into an Emporix target type.
The stream identifier.
3fa85f64-5717-4562-b3fc-2c963f66afa6The parent configuration.
7c9e6679-7425-40de-944b-e07fc1f90ae7The stream name.
ProductsThe logical source entity or record.
PRODUCTThe target writer code, for example emporix.customEntity.
emporix.customEntityThe default target type (custom-entity type identifier).
productHow the stream contributes to the target.
STANDALONEPossible values: The source field whose value is tracked as the delta watermark. A delta run extracts only the records whose value is newer than the last run's.
LASTCHANGEDATEHow the delta field's values are formatted, so they can be compared correctly.
DATEPossible values: For a composite child stream, the name of the stream it contributes to.
invoicesFor a composite child stream, the source field holding its parent's key.
INVOICE_IDFor a composite child stream, the parent attribute its records are embedded into.
lineItemsHow a composite child's records reach the parent object.
EMBEDPossible values: How an existing target object is updated. PATCH changes only the mapped fields and preserves everything else; REPLACE_PUT replaces the whole object, so fields this import does not manage are cleared.
PATCHPossible values: A source field whose value routes each record to a different target type, as defined by discriminatorMap.
DOCUMENT_TYPEWhether the stream reacts to its target objects being deleted outside the import.
falseWhat happens when a record deleted in the target is seen in the source again.
IGNOREPossible values: When the stream was created.
2024-05-01T09:00:00.000ZWhether the stream is active.
trueGiven request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Internal Service Error occurred.
GET /importtool/{tenant}/configs/{configId}/streams HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"configId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Products",
"sourceEntity": "PRODUCT",
"targetWriter": "emporix.customEntity",
"targetType": "product",
"mode": "STANDALONE",
"enabled": true
}
]This functionality is in preview mode - some of the features may not be fully operational yet.
Retrieves a single stream by its identifier, including its resolved target types.
- : Needed to trigger, schedule, monitor, and cancel import runs and to read configurations, streams, schedules, runs, and imported data.
The tenant you want to access.
mytenantThe resource identifier.
7c9e6679-7425-40de-944b-e07fc1f90ae7The request was successful. The stream is returned.
A stream that extracts from a source, maps fields, and upserts into an Emporix target type.
The stream identifier.
3fa85f64-5717-4562-b3fc-2c963f66afa6The parent configuration.
7c9e6679-7425-40de-944b-e07fc1f90ae7The stream name.
ProductsThe logical source entity or record.
PRODUCTThe target writer code, for example emporix.customEntity.
emporix.customEntityThe default target type (custom-entity type identifier).
productHow the stream contributes to the target.
STANDALONEPossible values: The source field whose value is tracked as the delta watermark. A delta run extracts only the records whose value is newer than the last run's.
LASTCHANGEDATEHow the delta field's values are formatted, so they can be compared correctly.
DATEPossible values: For a composite child stream, the name of the stream it contributes to.
invoicesFor a composite child stream, the source field holding its parent's key.
INVOICE_IDFor a composite child stream, the parent attribute its records are embedded into.
lineItemsHow a composite child's records reach the parent object.
EMBEDPossible values: How an existing target object is updated. PATCH changes only the mapped fields and preserves everything else; REPLACE_PUT replaces the whole object, so fields this import does not manage are cleared.
PATCHPossible values: A source field whose value routes each record to a different target type, as defined by discriminatorMap.
DOCUMENT_TYPEWhether the stream reacts to its target objects being deleted outside the import.
falseWhat happens when a record deleted in the target is seen in the source again.
IGNOREPossible values: When the stream was created.
2024-05-01T09:00:00.000ZWhether the stream is active.
trueGiven request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Internal Service Error occurred.
GET /importtool/{tenant}/streams/{id} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"configId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Products",
"sourceEntity": "PRODUCT",
"targetWriter": "emporix.customEntity",
"targetType": "product",
"mode": "STANDALONE",
"enabled": true
}Last updated
Was this helpful?

