Organization search is not working properly #99
Locked
somvitbhowmik
started this conversation in
General Discussions
Replies: 1 comment
-
Created this discussion in wrong Knowlg BB. Admin pls close this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
Organization search is not working properly. For example:
Consider that we have to search Block Development Officer organization.
It will fetch the data based on the word Block then Development and Officer and return all the results, Which is fine. But in a response it is very difficult to find the Block Development Officer organization. Because getting huge response. Because we are searching for the Block Development Officer and it should get the high preference and should show 1st in the response. Which is not happening. Organization search command sharing for the reference.
curl --location --request POST 'https://<Host:Port>/api/org/v1/search' \ --header 'Content-Type: application/json' \ --header 'Authorization: <Bearer Token>' \ --data-raw '{ "request": { "filters": { "isTenant": true, "status": 1 }, "sortBy": { "orgName": "asc" }, "query": "Block Development Officer", "limit": 500 } }'
Kindly let me know any solution for this problem.
Beta Was this translation helpful? Give feedback.
All reactions