← Back to team overview

dhis2-devs team mailing list archive

Re: Web API call returning no value (just 204 -> no content)

 

Thanks Morten for your quick answer (and apologies for my slow reponse)

This is going to be really useful, should I also assume that it has been
implemented for 2.21 as well?

On Fri, Jan 22, 2016 at 4:14 AM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> 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