← Back to team overview

dhis2-devs team mailing list archive

Re: Attribute value CRUD through web api

 

What was the response and what was the payload? Which version?

On Tue, Dec 1, 2015, 15:34 Nicolas Germeau <ngermeau@xxxxxxxxxxxxxx> wrote:

> Hello,
>
> I'm trying to create/update attribute values through the web api but it
> seems that I can't find the correct syntax.
>
> To be specific I want to create or update attribute value on a specific
> orgunit.
>
> For create: i tried to post with a payload (attributeValue and attribute)
> on the attributeValues collection but with no success.
>
> For update: same but tried also with patch method but no success.
>
> Thanks in advance,
> Nicolas
>
> --
> *Nicolas Germeau*
> *Software Developer*
>
> GSM:  +32 487 129820
>
> Tel: +32 2 737 65 16
> Skype: nicolas.germeau
>
> Follow us on Twitter <https://twitter.com/bluesquare_org>
> Join us on Facebook <https://www.facebook.com/BlueSquare.org?fref=ts>
> Visit our new website <http://www.bluesquare.org/>
> _______________________________________________
> 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