API SynDesk
Base URL : https://app.syndesk.ch/api/v1
Tickets
Lister
GET /tickets?status=open&priority=high&page=1&per_page=20
Créer
POST /tickets
Content-Type: application/json
{
"title": "VPN inaccessible",
"description": "Plus de connexion VPN depuis ce matin",
"priority": "high",
"category": "network",
"client_id": "acme"
}
Mettre à jour
PATCH /tickets/:id
{ "status": "resolved" }
Ajouter un commentaire
POST /tickets/:id/comments
{ "body": "Solution appliquée.", "internal": false }
Clients
GET /clientsPOST /clientsGET /clients/:idPATCH /clients/:id
Utilisateurs
GET /usersPOST /users— créer un technicienDELETE /users/:id