Hello devs, We are trying to create a whole org unit hierarchy through the new API resource /api/23/metadata . During the process, we realized there should be some kind of problem when we tried to create the parent org unit (the parent of the whole hierarchy), because even If the answer from the server is 200 OK once we sent the POST and with a GET we can verify that the org units are created successfully, no org units are appearing on Maintenance App. We are using the same version and build as in demo server (version 2.23 and build 22969). We tried the same in demo server with the same result.
I attached our JSON and the url we were doing the POST request: - https://play.dhis2.org/demo/api/23/metadata <https://www.google.com/url?q=https%3A%2F%2Fplay.dhis2.org%2Fdemo%2Fapi%2F23%2Fmetadata&sa=D&sntz=1&usg=AFQjCNFEcEvpUIBy7DQX7KNTUvGRw7nObw> Besides, we tried to create the parent org unit of the whole hierarchy through the Maintenance interface with the same result. Apparently, it is created but not shown after on Maintenance App. (We made a GET to http://localhost:8080/api/metadata?assumeTrue=false&organisationUnits=true and we verified that the org unit was created) Tell me If I'm doing something wrong here or If this issue was already reported. Best Regards! *Sergio Valenzuela* Fundación EHAS Telemedicina para países en desarrollo -* www.ehas.org <http://www.ehas.org/>* E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040 Madrid - España Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
guineaorgunit
Description: Binary data
_______________________________________________ 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