dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42682
Re: Web API call returning no value (just 204 -> no content)
Hi Jose
Please wait about 40 min, and you can download a new 2.20 which gives a 404
if the property/id was not found, and a 200 OK if property/id was found.
--
Morten
On Fri, Jan 22, 2016 at 9:32 AM, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
wrote:
>
> Hi devs,
>
> I think this question was asked before, but...
>
> As far as I know the following API call
> ..../api/organisationUnits/{ID}/organisationUnitGroups/{ID} does not return
> any value (DELETE, POST,.... either if the result is a success or a
> failure), at least using the 2.20 version right? (please, correct me if I
> am wrong). If this is the case, it makes very dificult to define a
> javascript logic based in the result of the API call. Would it be possible
> to implement at least a 200 (Ok) returning value? Is there something you
> can do from your end? If so, it would be nice to have it in 2.21 and 2.20
> as well :)
>
> Many Thanks!
> Jose
>
> _______________________________________________
> 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
>
>
Follow ups
References