Skip to main content

Fetch all events without pagination

📜 This job is an official example from OpenFn.

Metadata​

  • Name: Fetch all events without pagination
  • Adaptor: @openfn/language-dhis2
  • Adaptor Version: v8.1.1
  • Created date unknown
  • Updated date unknown
  • Score: 100 (an indicator of how useful this job may be)

Key Functions​

Expression​

// Fetching all events without pagination
// Be cautious: This can degrade performance if you have a lot of events, use with caution
// Requires DHIS2 server v2.41+, for older version `skipPaging: true`
tracker.export('events', { paging: false });