← Back to team overview

dhis2-devs team mailing list archive

Re: Web api for CSV data import for Tracker

 

Thanks for this, David! I hadn't seen this.
Looks more like it.

We'll take a good look at this and see if it can meet our need.

Thanks so much.
Ime



On 5/25/2017 12:39 AM, David Muturi wrote:
Hi Ime,
Do you mean program stages ? You can get the documentation here https://docs.dhis2.org/master/en/developer/html/webapi_events.html
rgds
David

2017-05-25 1:18 GMT+03:00 Ime Asangansi <imeasangansi@xxxxxxxxx <mailto:imeasangansi@xxxxxxxxx>>:

    Thanks so much for your response, David.

    I've seen this api, and can create beneficiaries.
    But was actually referring to data - like datavalues for the
    beneficiaries.

    Thanks for the indication that this isn't implemented yet.

    Had thought I missed it somewhere in the manual.

    Cheers,

    Ime


    On 5/24/2017 11:10 PM, David Muturi wrote:
    Hi Ime,
    One way is to create a script that loops through your data and
    posts the tei via the api. The payload syntax is described here
    https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei
    <https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_creating_tei>
    The CSV IMPORT/export is not yet implemented.
    rgds
    David

    2017-05-24 14:07 GMT+03:00 Ime Asangansi <imeasangansi@xxxxxxxxx
    <mailto:imeasangansi@xxxxxxxxx>>:

        Good day everyone,

        We are looking to import historical beneficiary data into
        DHIS2programmatically.
        So, we have a quick question regarding the Web api for CSV
        data import for Tracker.

        I couldn't find this, probably missed it.
        Please can someone very kindly point to where the I can find
        relevant documentation on how to post CSV for tracker data?
        Or to say if the feature doesn't exist yet?

        Thanks so much.

        With much appreciation,
        Ime


        _______________________________________________
        Mailing list: https://launchpad.net/~dhis2-devs
        <https://launchpad.net/%7Edhis2-devs>
        Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
        <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~dhis2-devs
        <https://launchpad.net/%7Edhis2-devs>
        More help   : https://help.launchpad.net/ListHelp
        <https://help.launchpad.net/ListHelp>






References