Skip to content
Discussion options

You must be logged in to vote

@ChristiaanEmpowerBI The search box filter is essentially a different view of an element list.
Here is an example

For your dossier & data the filter can be applied either when executing the dossier instance or afterwards with the PUT /../ filters API:

POST /dossiers/{id}/instances
`{

"filters": [
{
"key": "{FILTER KEY}",
"selections": [
{
"name": "Aaby"
}
]
}
],
"persistViewState": true
}`

PUT /dossiers/{id}/instances/{instanceId}/filters

[
{
"key": "{FILTER KEY}",
"selections": [
{
"name": "Aaby"
}
]
}
]

The problem you maybe facing is the ID being provided is the ID form, but the API is expecting the attribute elementID. Elements can be obtained from GET /api/dossiers/{dossierId}/inst…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Dholmblad
Comment options

Answer selected by ChristiaanEmpowerBI
@ChristiaanEmpowerBI
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants