Zum Hauptinhalt springen
GET
/
export
/
reporting_tickets
Export reporting tickets
curl --request GET \
  --url https://demo.enneo.ai/api/mind/export/reporting_tickets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 4711,
    "channel": "email",
    "direction": "in",
    "status": "closed",
    "priority": "high",
    "contractId": "C-1001",
    "customerId": "CU-42",
    "topic": "Billing",
    "subTopic": "Payment reminder",
    "incomingMessages": 3,
    "outgoingMessages": 2,
    "internalMessages": 1,
    "manualWorkEntries": 1,
    "createdAt": "2024-05-12 09:00:00",
    "closedAt": "2024-05-13 16:15:00",
    "dueBy": "2024-05-20 09:00:00",
    "lastMessageAt": "2024-05-13 16:15:00",
    "lastCustomerMessageAt": "2024-05-13 14:22:00",
    "secondsSinceLastCustomerMessage": 6780,
    "secondsToClose": 116100,
    "secondsClosedAfterSLA": -3600
  }
]

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Abfrageparameter

format
enum<string>

Export format. Defaults to the backend defaultDateExportFormat setting when omitted.

Verfügbare Optionen:
xlsx,
csv,
json
limit
integer
Standard:100

The number of items to return

Erforderlicher Bereich: 1 <= x <= 1000
offset
integer
Standard:0

The number of items to skip

Erforderlicher Bereich: x >= 0
orderByField
string

Column used to order the result set. Must be a column from the reporting_tickets table (for example createdAt, status, secondsToClose).

orderByDirection
enum<string>
Standard:desc

Sort direction applied to orderByField.

Verfügbare Optionen:
asc,
desc

Antwort

Export scheduled or returned successfully.

id
integer | null
channel
string | null
direction
string | null
status
string | null
priority
string | null
contractId
string | null
customerId
string | null
topic
string | null
subTopic
string | null
incomingMessages
integer | null
outgoingMessages
integer | null
internalMessages
integer | null
manualWorkEntries
integer | null
createdAt
string<date-time>
closedAt
string<date-time> | null
dueBy
string<date-time> | null
lastMessageAt
string<date-time> | null
lastCustomerMessageAt
string<date-time> | null
secondsSinceLastCustomerMessage
integer | null
secondsToClose
integer | null
secondsClosedAfterSLA
integer | null
Beispiel:
[
{
"id": 4711,
"channel": "email",
"direction": "in",
"status": "closed",
"priority": "high",
"contractId": "C-1001",
"customerId": "CU-42",
"topic": "Billing",
"subTopic": "Payment reminder",
"incomingMessages": 3,
"outgoingMessages": 2,
"internalMessages": 1,
"manualWorkEntries": 1,
"createdAt": "2024-05-12 09:00:00",
"closedAt": "2024-05-13 16:15:00",
"dueBy": "2024-05-20 09:00:00",
"lastMessageAt": "2024-05-13 16:15:00",
"lastCustomerMessageAt": "2024-05-13 14:22:00",
"secondsSinceLastCustomerMessage": 6780,
"secondsToClose": 116100,
"secondsClosedAfterSLA": -3600
}
]