Alle Tickets abrufen
Mit diesem Endpunkt können Sie eine paginierte Liste aller Tickets abrufen.
Request
GET /api/v1/tickets
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/tickets' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"id": 1,
"subject": "Kundenkontaktformular aktualisieren",
"priority": 3,
"status": {
"id": 5,
"name": "bewilligt"
},
"creator_username": "max.mustermann",
"processor_username": "anna.schmidt",
"date": "2024-02-25 13:36:42",
"receipt_date": null,
"start_date": null,
"deadline": null,
"processing_date": "2024-02-28 14:09:38",
"done_date": "2024-02-28 14:11:38",
"approved_date": "2024-03-12 08:23:54",
"rejected_date": null,
"billed_date": null,
"planned_hours": null,
"prevent_overbooking": 0,
"history_modified": "2024-03-12 08:23:54",
"project_id": 43,
"project_task_id": 196,
"notify_of_completion": null,
"customer_contact_person_id": null,
"history_creator_username": "max.mustermann",
"customer_reference": null,
"external_ticket_number": null,
"from_mail": null,
"created": "2024-02-25T13:36:42.000000Z",
"modified": "2024-05-14T14:13:24.000000Z",
"keywords": [],
"categories": []
},
{
"id": 2,
"subject": "E-Mail-Benachrichtigungsproblem beheben",
"priority": 3,
"status": {
"id": 5,
"name": "bewilligt"
},
"creator_username": "max.mustermann",
"processor_username": "lisa.mueller",
"date": "2024-02-25 13:41:53",
"receipt_date": null,
"start_date": null,
"deadline": null,
"processing_date": "2024-02-28 09:56:31",
"done_date": "2024-02-28 09:57:13",
"approved_date": "2024-03-12 08:23:46",
"rejected_date": null,
"billed_date": null,
"planned_hours": null,
"prevent_overbooking": 0,
"history_modified": "2024-03-12 08:23:46",
"project_id": 128,
"project_task_id": 887,
"notify_of_completion": null,
"customer_contact_person_id": null,
"history_creator_username": "max.mustermann",
"customer_reference": null,
"external_ticket_number": null,
"from_mail": null,
"created": "2024-02-25T13:41:53.000000Z",
"modified": "2024-02-28T09:57:13.000000Z",
"keywords": [],
"categories": []
}
]
}
Optionale Parameter
- Name
start_date
- Type
- date | Y-m-d
- Description
Erster Tag des abzufragenden Zeitraums. Die Angabe ist inklusiv, d.h. der als start_date angegebene Tag wird auch in den Ergebnissen berücksichtigt.
- Name
end_date
- Type
- date | Y-m-d
- Description
Letzter Tag des abzufragenden Zeitraums. Er ist inklusiv, d. h. der als end_date angegebene Tag wird in den Ergebnissen ebenfalls berücksichtigt.
- Name
limit
- Type
- integer
- Description
Attribut zur Begrenzung der Einträge pro Seite