Skip to content

Commit ffba2fe

Browse files
authored
Merge pull request #1097 from akeneo/CEX-682
CEX-682: add doc for task_uuids filter
2 parents 2ef57cf + 9520fd2 commit ffba2fe

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

content/rest-api/filter.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,6 +2142,23 @@ To only retrieve tasks on specified products, you can use the following URL.
21422142
/api/rest/v1/workflows/tasks?search={"product_uuids":[{"operator":"IN","value":["9c8fc7b2-9039-4c22-970e-643939b54fad"]}]}
21432143
```
21442144

2145+
### On their task uuid
2146+
2147+
::: availability versions=SaaS editions=EE
2148+
2149+
To filter tasks on their uuids, use the `task_uuids` property.
2150+
Here are the allowed operators you can use to filter on the task uuid as well as the corresponding type of value expected in the `search` query parameter.
2151+
2152+
| Allowed operators | Allowed value type |
2153+
| ----------------- |------------------------------|
2154+
| IN, NOT IN | list of strings (task uuids) |
2155+
2156+
#### Example
2157+
2158+
```
2159+
/api/rest/v1/workflows/tasks?search={"task_uuids":[{"operator":"IN","value":["9c8fc7b2-9039-4c22-970e-643939b54fad", "b1c8f7a2-9039-4c22-970e-643939b54fad"]}]}
2160+
```
2161+
21452162
### On their product uuid
21462163

21472164
::: availability versions=SaaS editions=EE

0 commit comments

Comments
 (0)