dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37299
Re: Database and interface language for user invitations - JSON
Hi JM,
sorry you cannot do that directly. However, if you can create easily script
if after you have sent the invites by creating these user-settings for each
user/invite. Have a look the docs for user settings:
https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s33.html
So by remembering the usernames of your invites you can make two POST
requests per invite like this:
/api/userSettings/keyUiLocale?user=<invite-username>&value=en
/api/userSettings/keyDbLocale?user=<invite-username>&value=en
regards,
Lars
On Wed, May 6, 2015 at 6:43 AM, Juan Manuel Alcantara Acosta <
jmalcantara1@xxxxxxxxx> wrote:
> Hi Devs
> I need to create a large number of user invitations and I’d like to know
> if its possible to configure the interface and database language in the
> JASON structure.
> Best regards,
> JM
> _______________________________________________
> 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