---
url: https://next.zammad.org/it/reference/rest-api/ticket-summary.md
---

# Ticket summary

## Mostra/Attiva

Permesso richiesto: `ticket.agent`

Richiesta `POST` inviata: `/api/v1/tickets/{ticket id}/summarize`

L'endpoint di riepilogo ticket usa `POST` perché creare e recuperare il
riepilogo avviene.

* Se esiste un riepilogo, viene restituito.
* Se non esiste un riepilogo, la creazione viene attivata in background (job
  asincrono).

Usare `GET` sarebbe scorretto poiché la chiamata può anche creare dati. Se
vuoi un riepilogo.

Risposta di esempio se la generazione di un nuovo riepilogo è stata appena
attivata dalla richiesta:

::: details

```json
// HTTP Code 200 Ok

{
  "result": null
}
```

:::

Risposta di esempio per un riepilogo esistente (ad esempio per lo stesso
ticket sopra dopo aver atteso.

::: details

```json
// HTTP Code 200 Ok

{
  "result": {
    "language": "en-US",
    "customer_mood": "concerned",
    "open_questions": [
      "Can you please tell us what color the LED is flashing and how often it flashes?"
    ],
    "upcoming_events": [],
    "customer_emotion": "😐",
    "customer_request": "Laptop not working [Order 931529477]",
    "conversation_summary": "Customer Petra Parker reports a problem with her customized laptop, which only flashes one LED when pressed. Agent Alexander Jensen asks for more details and clarifies the issue with 2nd level support.",
    "fingerprint_md5": "e516dda67c26605f31ea5ea9f8b184cf",
    "relevant_for_current_user": true
  }
}
```

:::
