dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09033
Usage of Data Store
Hi.
I'm trying to use the dataStore resource with my app although I'm facing some issues.
As far as I've understood the desired namespace should be declared in the manifest file. Within the activities.dhis. I have declared my namespace as:
"namespace" : "coursetaker"
I've also tried it like this: "namespace: "/coursetaker"
Doing a Get request to the api/dataStore returns : "[]"
Doing a get request tot the api/dataStore/coursetaker returns:
"{"httpStatus":"Not Found","httpStatusCode":404,"status":"ERROR","message":"The namespace 'coursetaker' was not found."}"
And different attempts at PUT requests return:
"Request method 'PUT' not supported".
I'm running DHIS 2.21. On tomcat 7.0.55
When installing the app I get no manifest syntax error.
Follow ups