Create a new data monitor.
Data monitor is a concept for asynchronous processing of data curation and data validation.
Data monitors should be unique by a pair: dataSources
+ type
.
Data monitor can be created only for DATA_MIRROR Business Partner Storage, having sharedWithOrganization
set to true.
Creation of data monitor in v1 is configured as JOB execution type which reevaluates data every specified period of time. See v2 of this endpoint for comparison and additional options.
Note: creation of data monitor starts background process that is invoked for all Business Partners from data monitor scope.
OK
{- "type": {
- "technicalKey": "AUGMENTATION"
}, - "dataSources": [
- {
- "id": "648824a691d8d2503d65103e"
}
], - "enabled": true,
- "configuration": {
- "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
}, - "frequency": "BI_WEEKLY"
}
{- "id": "bfdfd6f7-562f-4d4a-921f-e68cba60d5cf",
- "frequency": "BI_WEEKLY",
- "type": {
- "name": "Augmentation",
- "technicalKey": "AUGMENTATION"
}, - "dataSources": [
- {
- "id": "648824a691d8d2503d65103e",
- "name": "Internal customers"
}
], - "enabled": true,
- "disabledAt": "2024-11-22T13:20:20Z",
- "configuration": {
- "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
}
}
List all Data Monitors of the give Business Partner Storage.
OK
{- "values": "[ff864c7bfe38397b8c160bc624f97574, 1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p]",
- "limit": "100",
- "startAfter": "5712566172571652",
- "nextStartAfter": "5712566172571652",
- "total": "67"
}
Note: modification of configuration.id
or set of dataSources
starts background process
that populates processing log for all Business Partners from data monitor scope.
OK
{- "frequency": "BI_WEEKLY",
- "type": {
- "technicalKey": "AUGMENTATION"
}, - "dataSources": [
- {
- "id": "648824a691d8d2503d65103e"
}
], - "enabled": true,
- "configuration": {
- "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
}
}
{- "created": "4",
- "updated": "0",
- "failed": "4"
}