SuiteConsultance/documentation/api.html
2025-09-20 13:18:04 +02:00

52 lines
No EOL
1.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SuiteConsultance — Documentation Utilisateur</title>
<link rel="stylesheet" href="assets/style.css" />
</head>
<body>
<div class="navbar">
<div class="inner">
<div class="brand">SuiteConsultance</div>
<span class="badge">v1.0</span>
<div class="navlinks"><a href="index.html">Accueil</a>
<a href="installation.html">Installation</a>
<a href="demarrage.html">Démarrage rapide</a>
<a href="crm.html">CRM</a>
<a href="email.html">Emails & Scraping</a>
<a href="propositions.html">Propositions</a>
<a href="devis.html">Devis</a>
<a href="projets.html">Projets</a>
<a href="taches.html">Tâches & Rappels</a>
<a href="api.html" style="background:orange">API</a>
<a href="donnees.html">Données & Sauvegarde</a>
<a href="build.html">Build Desktop</a>
<a href="depannage.html">Dépannage</a>
<a href="faq.html">FAQ</a></div>
</div>
</div>
<div class="container">
<h2>Endpoints disponibles</h2>
<h3>Recherche prospects</h3>
<pre>GET /api/crm/prospects/search?q=...&name=...&email=...&company=...&status=...&city=...&tags=a,b&date_from=YYYY-MM-DD&date_to=YYYY-MM-DD</pre>
<p>Retourne une liste filtrée par texte ou filtres spécifiques. Les <em>tags</em> sont tous requis sils sont fournis.</p>
<h3>Templates email (lecture)</h3>
<pre>GET /api/email_template/&lt;template_id&gt;</pre>
<h3>Créer des prospects depuis un scraping</h3>
<pre>POST /api/scraping/create_prospects
Content-Type: application/json
[{"name":"...", "email":"...", "company":"..."}]</pre>
<h3>Tester la configuration email</h3>
<pre>POST /api/test_email_config</pre>
</div>
<div class="container footer small">Dernière mise à jour : 24 August 2025 • Ce guide couvre lutilisation de la version actuelle de SuiteConsultance.</div>
</body>
</html>