Rest api with openemr integration database update failed

ashutoshw007 wrote on Wednesday, June 17, 2015:

Hi,

I found the rest api for openemr on github.
I referred the instructions and “how to” given in the webmaster.pdf along with the zip.
After making changes when I tried to update my database and got error as “Database update failed”.
Any help appreciated.

fsgl wrote on Wednesday, June 17, 2015:

See this.

ashutoshw007 wrote on Thursday, June 18, 2015:

Hey thanks fsgl, I am able to update it now.
But while trying to access the login page
e.g my-openemr-url/openemr/medmasterproapi/login.php, I do not get any login page, and if I hit the below url…
my-openemr-url/openemr/medmasterproapi/login.php?auth=login&site=default
I got this error as username/password incorrect

fsgl wrote on Thursday, June 18, 2015:

Did you follow Step 4 before upgrading?

ashutoshw007 wrote on Tuesday, June 23, 2015:

Hi fsgl,
I appreciate your help, but I suspect you have not got my scenario.
I am trying to use medmasters restfulapi for openemr.
Please check this link GitHub - oemr501c3/openemr-api: Prototype API for OpenEMR - Contributed by Med Master Mobile. LLC to OEMR
There is a documentation provided for the same.
I have referred it but stuck at a point.
Could you please check and help me.

fsgl wrote on Tuesday, June 23, 2015:

Would suggest that you email Bikash from his profile page.

bradymiller wrote on Wednesday, June 24, 2015:

Hi,

Getting this project integrated into OpenEMR got sidetracked bu Meaningful Use. Some details on it can be found here:
http://www.open-emr.org/wiki/index.php/Medmasterpro_API_Review#Overview

There was a new more secure mechanism brought into OpenEMR that would need to be worked into the code for it to work on more recent OpenEMR versions:

(note there’s been more refinement on this in OpenEMR since that commit, but in that commit, it gives you a gist of authentication changes that need to be made in the api)

-brady
OpenEMR