← Back to team overview

dhis2-devs team mailing list archive

Re: Post on Geofeatures API end point

 

Hi Barnabas

I don't know these APIs very well, but from looking at the code it seems
these are READ only (so any update have to go through the
/api/organisationUnits endpoint)

Maybe Lars of Bjørn can clarify

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
Team Integration Lead
University of Oslo
http://www.dhis2.org

On Fri, Jul 13, 2018 at 5:09 PM, Barnabas Akumba <akumbabarns@xxxxxxxxx>
wrote:

> Hello Devs,
>
> I downloaded some coordinates from one of my instances in json format. I
> have been trying to update another instance with the downloaded coordinates
> by interacting with the geoFeatures API end point using the call below:
>  curl -d @geoFeatures.json "https://staging.xxxxxxx.xxx.
> xx/dhis/api/26/geoFeatures" -H "Content-Type:application/json" -u
> *****:******* -v
>
> The output is the error below:
> [image: image.png]
>
> Am I getting anything wrong? Is it that the geoFeatures end point doesn't
> accept such operations?
>
> Your comments/advice will be appreciated.
>
> Regards
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

PNG image


References