Create a scheduler rule
Create a rule that runs an extractor on a scheduler.
Authorizations
Your API key is available in the Production and Sandbox dashboards.
Body
Scheduler IRI reference
"/schedulers/91106968-1abd-4d64-85c1-4e73d96fb997"
Extractor to run, which retrieves resources from the corresponding datasource
invoice, monthly_tax_return, annual_tax_return, rif_tax_return, tax_status, tax_retention, tax_compliance, electronic_accounting, sat_certificates, rpc, buro_de_credito_report, bil, rug Extractor options; check the available options for each extractor in Extractions
{
"types": ["I", "E", "P"],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
}Cron expression that controls when the rule runs
"@daily"
Response
Scheduler rule resource response
Scheduler Rule IRI reference
"/schedulers/rules/91106968-1abd-4d64-85c1-4e73d96fb997"
JSON-LD resource type
"e0a24894-7fbf-48ae-bfb0-efaae30a6319"
Scheduler that owns this rule
"Daily Invoices Scheduler"
Extractor to run, which retrieves resources from the corresponding datasource
invoice, monthly_tax_return, annual_tax_return, rif_tax_return, tax_status, tax_retention, tax_compliance, electronic_accounting, sat_certificates, rpc, buro_de_credito_report, bil, rug Extractor options; check the available options for each extractor in Extractions
{
"types": ["I", "E", "P"],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
}Cron expression that controls when the rule runs
"@daily"
Date and time the resource should execute in the next iteration
"2020-01-01T12:15:00.000Z"
Date and time the resource was created
"2020-01-01T12:15:00.000Z"
Date and time the resource was last updated
"2020-01-01T12:15:00.000Z"