Zum Hauptinhalt springen
GET
/
profile
/
{id}
/
routing
Explain routing priorities for a user
curl --request GET \
  --url https://demo.enneo.ai/api/mind/profile/{id}/routing \
  --header 'Authorization: Bearer <token>'
{
  "routingPriority": [
    123
  ],
  "details": [
    {
      "routingPriority": 123,
      "id": 123,
      "ticketNotAssigned": true,
      "ticketNotWorkedOnByColleague": true,
      "aiSupportLevel": "unprocessed",
      "priority": "low",
      "channel": "email",
      "dueBy": "<string>",
      "tagExplanation": "<string>"
    }
  ],
  "total": 123,
  "query": "<string>"
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

The id of the profile to explain routing for

Abfrageparameter

ticketId
integer

If provided, explain routing relative to this ticket ID ("next" button). If omitted, explains routing for the next ticket.

limit
integer
Standard:500

Maximum number of tickets to return. Defaults to 500.

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

The number of items to skip

Erforderlicher Bereich: x >= 0

Antwort

Successful operation

routingPriority
integer[]

Ordered list of ticket IDs by routing priority

details
object[]
total
integer

Total number of tickets that can be routed for this user

query
string

SQL-like query used to compute the routing