From 0af8981323658cb81a292f1edaf3a432206706c5 Mon Sep 17 00:00:00 2001 From: "Drechsler, Meik" Date: Thu, 23 Jul 2026 12:15:09 +0200 Subject: [PATCH] Fix exclusion filter examples in Postman collection --- ...4IT-F4SD-M42WebApi.postman_collection.json | 45 +++++++++++++++---- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/docs/postman/C4IT-F4SD-M42WebApi.postman_collection.json b/docs/postman/C4IT-F4SD-M42WebApi.postman_collection.json index 6fa4268..184695c 100644 --- a/docs/postman/C4IT-F4SD-M42WebApi.postman_collection.json +++ b/docs/postman/C4IT-F4SD-M42WebApi.postman_collection.json @@ -129,13 +129,21 @@ "key": "queueOption", "value": "0" }, - { - "key": "queues", - "value": "" - }, - { - "key": "roleGuid", - "value": "00000000-0000-0000-0000-000000000000" + { + "key": "queues", + "value": "" + }, + { + "key": "queueName", + "value": "HR" + }, + { + "key": "workspaceName", + "value": "HR Service Management" + }, + { + "key": "roleGuid", + "value": "00000000-0000-0000-0000-000000000000" }, { "key": "pickupName", @@ -1043,7 +1051,7 @@ } }, { - "name": "get filtered ticket list", + "name": "get ticket list excluding queue", "request": { "method": "POST", "header": [ @@ -1052,7 +1060,26 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"Sid\": \"{{sid}}\",\r\n \"Hours\": {{hours}},\r\n \"Filters\": {\r\n \"Filters\": [\r\n {\r\n \"Provider\": \"Matrix42\",\r\n \"Field\": \"Queue\",\r\n \"Enabled\": true,\r\n \"Match\": \"include\",\r\n \"EmptyHandling\": \"exclude\",\r\n \"Values\": [{ \"Name\": \"{{queueName}}\" }]\r\n }\r\n ]\r\n }\r\n}" + "raw": "{\r\n \"Sid\": \"{{sid}}\",\r\n \"Hours\": {{hours}},\r\n \"Filters\": {\r\n \"Filters\": [\r\n {\r\n \"Provider\": \"Matrix42\",\r\n \"Field\": \"Queue\",\r\n \"Enabled\": true,\r\n \"Match\": \"exclude\",\r\n \"EmptyHandling\": \"include\",\r\n \"Values\": [{ \"Name\": \"{{queueName}}\" }]\r\n }\r\n ]\r\n }\r\n}" + }, + "url": { + "raw": "{{baseUrl}}/api/c4itf4sdwebapi/v2/getTicketList", + "host": ["{{baseUrl}}"], + "path": ["api", "c4itf4sdwebapi", "v2", "getTicketList"] + } + } + }, + { + "name": "get ticket list excluding workspace (Matrix42 26.1+)", + "request": { + "method": "POST", + "header": [ + { "key": "Accept", "value": "application/json" }, + { "key": "Content-Type", "value": "application/json" } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Sid\": \"{{sid}}\",\r\n \"Hours\": {{hours}},\r\n \"Filters\": {\r\n \"Filters\": [\r\n {\r\n \"Provider\": \"Matrix42\",\r\n \"Field\": \"Workspace\",\r\n \"Enabled\": true,\r\n \"Match\": \"exclude\",\r\n \"EmptyHandling\": \"include\",\r\n \"Values\": [{ \"Name\": \"{{workspaceName}}\" }]\r\n }\r\n ]\r\n }\r\n}" }, "url": { "raw": "{{baseUrl}}/api/c4itf4sdwebapi/v2/getTicketList",