Can some one pls help me to write a query , i cannot get result back
body: {
query: {
bool: {
must: [
{
nested: {
path: "Permissions",
query: {
terms: {
"Permissions.PermissionCode ": cod
}
}
}
}
]
}
}
}
}