I'm very sorry, this is my first time to experiment on web services.

I was trying to get a list of persons that have the given name "John"

I tried using

GET /openmrs/ws/rest/v1/person?q=john

and I get a zero array.

These give me a "method not allowed:"

GET /openmrs/ws/rest/v1/person?name=john
GET /openmrs/ws/rest/v1/person/john
GET /openmrs/ws/rest/v1/person/name?=john

Does anybody know the syntax on how to do this?

thanks

-Jonathan

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to