REST API
All jobs can be triggered manually through their REST endpoints. Most endpoints support the following optional parameters:
-
delta— when provided for an extract job, the job only processes entities that were updated or created after this date. -
name— when provided, the job execution is given this name (useful for correlation in logs).
| Param | Format |
|---|---|
|
String |
|
|
Endpoints:
| HTTP Method | Path | Job type | Supported parameters |
|---|---|---|---|
|
|
Individual Sellers extract |
|
|
|
Professional Sellers extract |
|
|
|
Bank accounts extract |
|
|
|
Invoices extract |
|
|
|
Notification Processing |
|
The process-notifications endpoint triggers one immediate execution of the Notification Processing Job, which picks up any PENDING or eligible RETRYING notifications and processes them. The delta parameter is not applicable to this job.
|
See example of valid execution requests:
curl --location --request POST \ 'http://localhost:8080/job/bank-accounts-extract?delta=2020-11-22T11:52:00.000-00:00&name=bankAccountExtractJob' curl --location --request POST \ 'http://localhost:8080/job/process-notifications?name=manualNotificationRun'