DHIS2 icon

DHIS2

Interact with DHIS2 Web API

Actions18

Event → Get Many

AI-generated

Summary

Retrieves DHIS2 tracker events for a program and organisation unit, returning each event as an n8n item.

Inputs

  • Program ID (required) — UID of the program to filter events by.
  • Organisation Unit ID (required) — UID of the organisation unit to filter events by.
  • Return All — When enabled, requests all matching events with paging disabled. Defaults to false.
  • Limit — Maximum number of events to request when Return All is off; defaults to 50 (allowed range 1–1000).

Output shape

A list of event items, with each event response object in an item's JSON.

Uses the DHIS2 tracker events endpoint with program and orgUnit filters. With Return All off, sends pageSize; with it on, sends paging=false. API errors are thrown unless the node is configured to continue on fail, in which case an error item is returned.

Links

Discussion