Ticket: ajout de paramètres à la requête de liste de tickets

This commit is contained in:
2025-07-16 13:39:27 +00:00
parent bbf387d96f
commit faed443a96
15 changed files with 1441 additions and 99 deletions

View File

@@ -85,6 +85,56 @@ paths:
enum:
- open
- closed
- name: byCurrentStateEmergency
in: query
description: the current state emergency of the ticket
required: false
style: form
explode: false
schema:
type: array
items:
type: string
enum:
- yes
- no
- name: byMotives
in: query
description: the motives of the ticket
required: false
style: form
explode: false
schema:
type: array
items:
type: integer
format: integer
minimum: 1
- name: byCreatedBefore
in: query
description: "Filter by the creation date for the ticket: only tickets created before the given date."
required: false
schema:
type: string
format: date-time
- name: byCreatedAfter
in: query
description: "Filter by the creation date for the ticket: only tickets crated after the given date."
required: false
schema:
type: string
format: date-time
- name: byResponseTimeExceeded
in: query
allowEmptyValue: true
description: |
Filter tickets that are not closed and have a response time exceeded (configuration parameter).
The value of this parameter is ignored.
**Warning**: This silently remove the filters "byCurrentState" and "byCreatedBefore".
schema:
type: string
responses:
200:
description: OK