Zeiterfassung
Auflisten
Erforderliche Berechtigung: ticket.agent oder admin.time_accounting
GET-Anfrage gesendet: /api/v1/tickets/{ticket id}/time_accountings
Details
json
// HTTP-Code 200 OK
[
{
"id": 6,
"ticket_id": 50,
"ticket_article_id": 87,
"time_unit": "15.0",
"type_id": 3,
"created_by_id": 3,
"created_at": "2023-08-16T08:11:49.315Z",
"updated_at": "2023-08-16T08:11:49.315Z"
},
{
"id": 7,
"ticket_id": 50,
"ticket_article_id": 88,
"time_unit": "30.0",
"type_id": 2,
"created_by_id": 3,
"created_at": "2023-08-16T08:12:02.249Z",
"updated_at": "2023-08-16T08:12:02.249Z"
},
{
"id": 8,
"ticket_id": 50,
"ticket_article_id": 89,
"time_unit": "35.0",
"type_id": 4,
"created_by_id": 3,
"created_at": "2023-08-16T08:12:29.910Z",
"updated_at": "2023-08-16T08:12:29.910Z"
}
]Anzeigen
Erforderliche Berechtigung: ticket.agent oder admin.time_accounting
GET-Anfrage gesendet: /api/v1/tickets/{ticket id}/time_accountings/{timeaccounting id}
Details
json
// HTTP-Code 200 OK
{
"id": 7,
"ticket_id": 50,
"ticket_article_id": 88,
"time_unit": "30.0",
"type_id": 2,
"created_by_id": 3,
"created_at": "2023-08-16T08:12:02.249Z",
"updated_at": "2023-08-16T08:12:02.249Z"
}Erstellen
Erforderliche Berechtigung: ticket.agent oder admin.time_accounting
POST-Anfrage gesendet: /api/v1/tickets/{ticket id}/time_accountings
Details
json
{
"time_unit": "60.0",
"type_id": 4
}Aktualisierung
Erforderliche Berechtigung: admin.time_accounting
PUT-Anfrage gesendet: /api/v1/tickets/{ticket id}/time_accountings/{timeaccounting id}
Details
json
{
"id": 7,
"time_unit": "15.0",
"type_id": 4
}Entfernen
Erforderliche Berechtigung: admin.time_accounting
DELETE-Anfrage gesendet: /api/v1/tickets/{ticket id}/time_accountings/{timeaccounting id}
Details
Response:
json
// HTTP-Code 200 OK