cannot be able to query for a specific order set

i am not able to query for specific order sets via the endpoint

Welcome to Openmrs!

Please show the API endpoint you called along with the payload. Also show the error your received. It would be be easier for anyone to help you out :slight_smile:

https://ngx.ampath.or.ke/test-amrs/ws/rest/v1/orderset?q=kid&V=full

it’s a get.it should return all sets with the name kid

Can you reproduce that problem here? http://uat-refapp.openmrs.org

its still returning a null array

Have you created any ordersets on http://uat-refapp.openmrs.org? What is the full url that you are using to access them?

i m trying to search available sets and its a nul response … via endpoint

https://uat-refapp.openmrs.org/openmrs/ws/rest/v1/orderset

i posted via that endpoint this was the payload { “operator”: “ALL”, “name”: “test med set”, “description”: “test orderset”, “orderSetMembers”: [ { “orderType”: { “uuid”: “131168f4-15f5-102d-96e4-000c29c2a5d7” }, “orderTemplate”: “string”, “concept”: “113926AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “retired”: false } ] }

its not working

What happens when you access this from your browser? https://uat-refapp.openmrs.org/openmrs/ws/rest/v1/orderset

<org.openmrs.module.webservices.rest.SimpleObject serialization=“custom”>

0.75

12

16

1

results

false

</org.openmrs.module.webservices.rest.SimpleObject>

its a null result response

Can you paste what you get at pastebin.com?

https://pastebin.com/vvHJ1kQY

Can you try to use a different browser? This is what i get: https://pastebin.com/PByzXwMP

i have created an orderset … retrieving is possible…the problem is querying the available set by searching