Generate Resource Tables using Web API?


I want to know how to generate resource tables using web API? because I have had a problem with this, since 3 days ago, generate tables still running until now.

Thanks All


@taufiqhs there is /api/resourceTable web api endpoint you can use to trigger generation of the resource tables, and you can use /api/system/tasks/RESOURCE_TABLE to check the status of the task.

Look for the “Generating resource and analytics tables” section in the web API documentation: Web API - DHIS2 Documentation


Hi @Vladimer_Shioshvili

Thanks for the reply.
I have a problem with this. The endpoint is not found.


Sorry, it was a typo in my response - it’s resourceTables (needs an s at the end). Documentation I liked has all the details you would need.

1 Like