Using the algorithms API

This page is intended to help developers, or public health officers with understanding of HTTP requests. For details on the user interfaces as a way to interact with algorithms, please see User interfaces.

The major benefit of the API approach is being able to call the algorithms from any system that can send an HTTP request. This is often referred to as integrating the API into another system. Integration will usually require basic technical skills, but these are very generic, transferable skills, and not tied to the algorithm.

From the developer's perspective, the basic procedure is to:

  1. prepare a request, usually containing data from the source system

  2. send the request to the DiSARM API

  3. wait for the processing to complete

  4. receive the response, and do something with this

We describe the detail of an integration example in DHIS2 integration example.