Core Resources
- Events
- Files
- Exports
- Entities
- Tags
Extractions
Datasource: SAT
- Credentials
- Invoices
- Tax Retentions
- Tax Returns
- Tax Compliance Checks
- Tax Status
- Electronic Accounting
Datasource: RPC
- Entidades
Datasource: RUG
- Operaciones
- RUG Garantias
- Garantias
Datasource: Syntage
- Score
Datasource: Buró de Crédito
- Reports
- Authorizations
Insights
- Invoicing Annual Comparison
- Vendor Network
- Customer Network
- Customer Concentration
- Supplier Concentration
- Employees
- Expenditures
- Financial Institutions
- Financial Ratios
- Government Supplier
- Invoicing Blacklist
- Risks
- Sales Revenue
- Trial Balance
- Scores
- Cash Flow
- RPC Shareholders
- Balance Sheet
- Income Statement
- Invoicing Concentration
Webhooks
- Overview
- Webhook Endpoints
- Webhook Requests
Create an scheduler rule
POST
/
schedulers
/
rules
curl --request POST \
--url https://api.syntage.com/schedulers/rules \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"scheduler": "/schedulers/91106968-1abd-4d64-85c1-4e73d96fb997",
"extractor": "invoice",
"options": {
"types": [
"I",
"E",
"P"
],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
},
"cronExpression": "@daily"
}'
{
"@context": "/contexts/SchedulerRule",
"@id": "/schedulers/rules/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "SchedulerRule",
"id": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
"scheduler": "Daily Invoices Scheduler",
"extractor": "invoice",
"options": {
"types": [
"I",
"E",
"P"
],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
},
"cronExpression": "@daily",
"nextRunDate": "2020-01-01T12:15:00.000Z",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
Authorizations
Your API key is available in the Production and Sandbox dashboards.
Body
application/json
Response
202
application/ld+json
Scheduler rule resource response
The response is of type object
.
curl --request POST \
--url https://api.syntage.com/schedulers/rules \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"scheduler": "/schedulers/91106968-1abd-4d64-85c1-4e73d96fb997",
"extractor": "invoice",
"options": {
"types": [
"I",
"E",
"P"
],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
},
"cronExpression": "@daily"
}'
{
"@context": "/contexts/SchedulerRule",
"@id": "/schedulers/rules/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "SchedulerRule",
"id": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
"scheduler": "Daily Invoices Scheduler",
"extractor": "invoice",
"options": {
"types": [
"I",
"E",
"P"
],
"period": {
"from": "2020-01-01T00:00:00.000Z",
"to": "2020-03-31T23:59:59.000Z"
}
},
"cronExpression": "@daily",
"nextRunDate": "2020-01-01T12:15:00.000Z",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
Assistant
Responses are generated using AI and may contain mistakes.