🧩 Fin de Visite — Test JSON
Colle/édite ton JSON puis clique
Envoyer
. Requête
POST
vers
?action=create_all
. Le résultat s’affiche à droite.
Sandbox
Salesforce REST
HTTP —
Entrée JSON
POST → ?action=create_all
🚀 Envoyer la requête
✨ Formatter
↩️ Recharger l’exemple
Prêt.
{ "Agent": { "FirstName": "Yannick", "LastName": "Gilbert", "Email": "yannick@minuitmoinsune.com", "Job": "Développeur" }, "Clients": [ { "FirstName": "Camille", "LastName": "Durand", "Email": "camille.durand@example.com", "Phone": "514-777-4455", "Post": "H2L 3A6" }, { "FirstName": "Louis", "LastName": "Martel", "Email": "louis.martel@example.com", "Phone": "438-654-9922", "Post": "H3Z 1A5" } ], "Projects": [ { "ProjectName": "Esplanade Cartier - Phase 1", "Favorites": { "Units": [ "203", "305", "402" ] }, "Estimates": [ { "Unit": "203", "FinalPrice": 1920, "ServicesAndOptionsIncluded": [ "Internet", "Chauffage" ], "ServicesAndOptions": [ { "Name": "Stationnement", "Price": 100 } ], "ServicesAndOptionsMultiple": [] }, { "Unit": "305", "FinalPrice": 2200, "ServicesAndOptionsIncluded": [ "Climatisation" ], "ServicesAndOptions": [], "ServicesAndOptionsMultiple": [ { "Name": "Rangement", "Number": 2, "Price": 80 } ] } ] } ], "GeneralInfo": { "Date": "2026-06-03", "MeetingDateTime": "2026-06-03T19:09:29Z", "VisitTime": 52, "WalkIn": false, "VisitedUnitRecordTypeDeveloperName": "Default", "Building": "Bâtiment A", "UnitsSeeked": [ "3.5", "4.5", "Studio" ], "Comment": "Visite test (UI) - création Visit__c + Visited_Unit__c", "VisitedUnits": [ { "Unit": "203", "ClientInterest": "High", "TypeDeVisite": "Visite", "Notes": "Beau plan, bon prix.", "Comments": "<p>Client très intéressé.<\/p>", "PositiveAspects": [ "Luminosité", "Vue" ], "NegativeAspects": [ "Bruit" ] }, { "Unit": "305", "ClientInterest": "Medium", "TypeDeVisite": "Visite", "Notes": "À revoir avec conjoint." } ] } }
Astuce : si Salesforce renvoie une erreur, tu la verras à droite. Tu peux aussi faire
CTRL/⌘ + A
puis
CTRL/⌘ + V
pour coller ton JSON.
Résultat
—
{ "info": "Aucun envoi effectué." }
HTTP
affiche le status + le temps de réponse.