List data source executions for data source with the specified ID.
Resource URL | https://service.belladati.com/api/dataSets/dataSources/:id/executions |
---|---|
HTTP Method |
|
Parameters | Detail | Example |
---|---|---|
id | ID of the data source to fetch. You can find the ID in the response to | 123 |
{ "executions" : [ ] } |
JSON response contains array "executions" that contains multiple data source executions with following definition:
Name | Description |
---|---|
id | Execution identifier. |
when | Date and time when first execution of import should run. |
createdBy | Identifier of user that created execution. |
overwritingPolicy | (Optional) Action to perform with existing data - please see list of supported values. If this element is not specified then existing data remains unchanged and new data rows will be appended. |
repeateInterval | (Optional) Period of import execution - please see list of supported values. If this element is not specified then import will be performed only once. |
repeateIntervalCustom | Mandatory only if "repeateInterval" has value "CUSTOM". Specifies custom repeat interval in minutes. |
Using curl
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/dataSets/dataSources/3435/executions |
The JSON format response:
{ "executions" : [ { "id" : 54354564, "when" : "Mon, 16 Apr 2012 10:17:26 GMT", "createdBy" : "123", "overwrittingPolicy" : "DELETE_ALL", "repeateInterval" : "CUSTOM", "repeateIntervalCustom" : 30 } ] } |