POST
Déplacer un ticket
/tickets/{ticket_id}/moveDéplace un ticket vers un statut/colonne différent.
Paramètres
Paramètres de chemin
| Nom | Type | Description |
|---|---|---|
ticket_idrequis | string | The ticket ID |
Corps de la requête
application/jsonrequis
{
status_id*:stringID of the status/column to move to
position:integerPosition within the column (0-indexed)
}
Exemples de code
curl -X POST "https://api.qamaq.io/api/v1/tickets/{ticket_id}/move" \
-H "Authorization: Bearer qmq_your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'Réponses
200Ticket moved successfully
Response Body
{
id:stringboard_id:stringtitle:stringdescription:stringstatus_id:stringstatus_name:stringpriority:"low" | "medium" | "high" | "critical"lowmediumhighcritical
assignee_id:stringassignee_name:stringdue_date:string (date-time)labels:string[]custom_fields:objectposition:integercreated_at:string (date-time)updated_at:string (date-time)created_by:string}