Hi Omer

Just use the normal OU payload, and add the attributes:

{
   ... normal OU payload,
   "attributes": [
      { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value1"},
      { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value2"}
   ]
}

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

On Wed, Nov 22, 2017 at 12:08 PM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Hi,
>
> I have studied developer guide for searching an API: *That will set the
> value of extra attributes that i have added to organisation unit. *
> Could not find yet.
>
> *For Example :*
>
> Attribute id:abc (*which is the extra field/attribute of organisation
> unit )*
> Attribute value: 123
> set it to org unit - id :abcxmsms etcc;
>
> Can you please guide me for this API? Or any Reference ?
>
> Thanks
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#m_3764885447493149455_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to