User Search API - Framework filters are not working #89
-
Hello @reshmi-nair, @Hari-stackroute Site Environments Details - SunbirdEd portal of version 4.4.1 We are creating the users using the user-create API. - Payload
In the framework, we included a few custom nodes or fields, such as city, category, and sub-category, as mentioned in the above payload. With the user search API, we now wished to apply a filter.
But that is not working. Would you kindly assist me with the same? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@komalm I will check on this and get back |
Beta Was this translation helpful? Give feedback.
-
@komalm Pls let us know if the query is resolved. If yes, kindly mark the thread as answered |
Beta Was this translation helpful? Give feedback.
@komalm you can search framework-related fields through search API by using the below sample request, for example, if you want to search city then it can be,
{
"request": {
"query": "",
"filters": {
"channel": "{{channelName}}",
"email": "[email protected]",
"framework": {
"city": [
"Pune"
]
}
}
}
}
likewise, you can search any framework details with above structure