Hello,
We are using metadata api to create user, the post payload looks like this.
{
"users": [
{
"disabled": false,
"organisationUnits": [
{
"name": "MSF",
"id": "2cf79e8f137"
}
],
"dataViewOrganisationUnits": [
{
"name": "MSF",
"id": "2cf79e8f137"
}
],
"userCredentials": {
"username": "[email protected]",
"password": "aab24180611c714b04f572c737a324ae",
"userAuthorityGroups": [
{
"name": "HQ",
"id": "hq"
}
]
},
"surname": "Bar",
"name": "Foo Bar",
"firstName": "Foo",
"selfRegistered": false,
"id": 7,
"email": "[email protected]",
"strategy": "create_and_update"
}
]
}
This post is failing with the error :
No IdentifiableObjectStore found for class: class
org.hisp.dhis.user.UserCredentials (DefaultIdentifiableObjectManager.java
We debugged a little, it looks like the there are some change in structure
of UserCredential object which is breaking the API.
Any help on this asap is greatly appreciated.
Thanks
Kiran.
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp