Organisation unit distribution API

Hi

Is there an API call to get the same data as per the ‘Organisation unit distribution report’ for OrgUnitType?

Kind Regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Hi Devs

Any update on this? Is there such an api?

Pooben

···

---------- Forwarded message ----------
From: Pooben Dass pooben@hisp.org
Date: Tue, Sep 12, 2017 at 1:59 PM
Subject: Organisation unit distribution API
To: dhis2-devs dhis2-devs@lists.launchpad.net

Hi

Is there an API call to get the same data as per the ‘Organisation unit distribution report’ for OrgUnitType?

Kind Regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

Not sure that is possible directly, but you could probably easily set up an SQL View which produces that output and which you can call through the API:

https://docs.dhis2.org/master/en/developer/html/webapi_sql_views.html

···

On Tue, Sep 26, 2017 at 9:59 AM, Pooben Dass pooben@hisp.org wrote:

Hi Devs

Any update on this? Is there such an api?

Pooben

---------- Forwarded message ----------
From: Pooben Dass pooben@hisp.org
Date: Tue, Sep 12, 2017 at 1:59 PM
Subject: Organisation unit distribution API
To: dhis2-devs dhis2-devs@lists.launchpad.net

Hi

Is there an API call to get the same data as per the ‘Organisation unit distribution report’ for OrgUnitType?

Kind Regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thanks I will use the sql but i just thought there might an api call.

Thanks

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

···

On Tue, Sep 26, 2017 at 10:06 AM, Knut Staring knutst@gmail.com wrote:

Not sure that is possible directly, but you could probably easily set up an SQL View which produces that output and which you can call through the API:

https://docs.dhis2.org/master/en/developer/html/webapi_sql_views.html

On Tue, Sep 26, 2017 at 9:59 AM, Pooben Dass pooben@hisp.org wrote:

Hi Devs

Any update on this? Is there such an api?

Pooben

---------- Forwarded message ----------
From: Pooben Dass pooben@hisp.org
Date: Tue, Sep 12, 2017 at 1:59 PM
Subject: Organisation unit distribution API
To: dhis2-devs dhis2-devs@lists.launchpad.net

Hi

Is there an API call to get the same data as per the ‘Organisation unit distribution report’ for OrgUnitType?

Kind Regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org