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>'
{
  "details": [
    {
      "routingPriority": 123,
      "id": 123
    }
  ]
}

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 earliest ticket.

id
integer

Scope the explain query to a single ticket via an exact t.id match. Used by the FE self-check on /ticket/{id}. Combined with limit=1 on your own profile this bypasses the updateUserProfileSkills permission.

q
string

Full-text search filter across ticket id, contractId, customerId and fulltext fields.

limit
integer
Standard:500

Maximum number of tickets to return. Defaults to 500. When set to 1, activates the short (stripped) response format.

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

The number of items to skip

Erforderlicher Bereich: x >= 0

Antwort

Successful operation

Short format response (limit=1). Contains only details array with routingPriority and id per element. No total or query fields.

details
object[]
erforderlich