Koha/api/v1/swagger/definitions/ticket_update.yaml
Martin Renvoize 8b08ec8b3f
Bug 35657: Add support for assignee_id to ticket_updates endpoint
This patch adds support for cross-synced ticket.assignee_id updates.

The API allows you to set assignee directly on a ticket or via a
ticket_update. In both cases we store a ticket_update with the fine
details of when and who set the assigee.

Signed-off-by: Paul Derscheid <paulderscheid@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-02 15:03:35 +02:00

50 lines
1 KiB
YAML

---
type: object
properties:
update_id:
type: integer
description: Internal ticket update identifier
readOnly: true
ticket_id:
type: integer
description: Internal ticket identifier
readOnly: true
user:
type:
- object
- "null"
description: The object representing the patron who added the update
readOnly: true
user_id:
type: integer
description: Internal identifier for the patron who added the update
assignee:
type:
- object
- "null"
assignee_id:
type:
- integer
- "null"
date:
type:
- string
- "null"
format: date-time
description: Date the ticket update was reported
readOnly: true
message:
type: string
description: Ticket update details
public:
type: boolean
description: Is this update intended to be sent to the patron
status:
type:
- string
- "null"
description: Status of the ticket after this update
additionalProperties: true
required:
- message
- public