{
    "id": "20260223_172557_c421533d",
    "timestamp": "2026-02-23T17:25:57+00:00",
    "meta": {
        "method": "POST",
        "uri": "/trudel/SB/test/FinDeVisite.php?action=create_all",
        "query": {
            "action": "create_all"
        },
        "ip": "185.213.80.158",
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36",
        "http_code": 200,
        "note": "create_all",
        "OpportunityId": "006As00000Npa2cIAB",
        "VisitId": "a03As00000ybg5lIAA"
    },
    "input": {
        "Agent": {
            "FirstName": "Démo",
            "LastName": " ",
            "Email": "immersioninternal@gmail.com",
            "Job": " "
        },
        "Clients": [
            {
                "FirstName": "Yannick",
                "LastName": "Gilbert",
                "Email": "yannick1@minuitmoinsune.com",
                "Phone": "",
                "Post": ""
            }
        ],
        "Projects": [
            {
                "ProjectName": "Le18Juillet",
                "Favorites": {
                    "Units": [
                        "1055_Le18Juillet-2",
                        "1051_Le18Juillet-2"
                    ],
                    "CommonAreas": [],
                    "Surroundings": []
                },
                "Estimates": [
                    {
                        "Unit": "1051",
                        "ServicesAndOptionsIncluded": [
                            "Piscine extérieure au toit",
                            "Salle de mise en forme",
                            "Cuisine d’été",
                            "Salle de réception ($)",
                            "Suite d’invité locative ($)",
                            "Stations lave-auto",
                            "Salle de rangement à vélos sécurisée",
                            "Eau chaude",
                            "Air climatisé"
                        ],
                        "ServicesAndOptions": [],
                        "ServicesAndOptionsMultiple": [
                            {
                                "Name": "Location borne de recharge",
                                "Number": 1,
                                "Price": 35
                            },
                            {
                                "Name": "Rangement grillagé souterrain (à partir de)",
                                "Number": 1,
                                "Price": 55
                            }
                        ],
                        "ServicesAndOptionsPrice": 90,
                        "UnitPrice": 3480,
                        "Deduction": 0,
                        "OtherFees": 0,
                        "FinalPrice": 3570
                    }
                ]
            },
            {
                "ProjectName": "Le21Mars",
                "Favorites": {
                    "Units": [
                        "939_Le21Mars-2",
                        "1023_Le21Mars-2"
                    ],
                    "CommonAreas": [
                        "Piscine au toit"
                    ],
                    "Surroundings": [
                        "Galerie Charlesbourg"
                    ]
                },
                "Estimates": [
                    {
                        "Unit": "939",
                        "ServicesAndOptionsIncluded": [
                            "Piscine extérieure au toit",
                            "Salle de mise en forme",
                            "Cuisine d’été",
                            "Salle de réception ($)",
                            "Suite d’invité locative ($)",
                            "Stations lave-auto",
                            "Salle de rangement à vélos sécurisée",
                            "Eau chaude",
                            "Air climatisé"
                        ],
                        "ServicesAndOptions": [],
                        "ServicesAndOptionsMultiple": [
                            {
                                "Name": "Stationnement intérieur (à partir de)",
                                "Number": 1,
                                "Price": 75
                            },
                            {
                                "Name": "Location borne de recharge",
                                "Number": 1,
                                "Price": 35
                            }
                        ],
                        "ServicesAndOptionsPrice": 110,
                        "UnitPrice": 2830,
                        "Deduction": 0,
                        "OtherFees": 0,
                        "FinalPrice": 2940
                    }
                ]
            }
        ],
        "GeneralInfo": {
            "Date": "2026.02.23",
            "VisitTime": 84.84163665771484375,
            "Pet": "",
            "UnitsSeeked": [],
            "Comment": ""
        }
    },
    "output": {
        "ok": true,
        "LeadConversion": null,
        "Opportunity": {
            "http": 201,
            "resp": {
                "id": "006As00000Npa2cIAB",
                "success": true,
                "errors": []
            },
            "id": "006As00000Npa2cIAB"
        },
        "Roles": [
            {
                "http": 201,
                "resp": {
                    "id": "00KAs00000dJ2xJMAS",
                    "success": true,
                    "errors": []
                },
                "role": {
                    "ContactId": "003As00000ybg49IAA",
                    "Role": "Client principal",
                    "IsPrimary": true
                }
            }
        ],
        "Visit__c": {
            "mode": "create",
            "id": "a03As00000ybg5lIAA",
            "http": 201,
            "payload": {
                "Opportunity__c": "006As00000Npa2cIAB",
                "Contact_1__c": "003As00000ybg49IAA",
                "Meeting_Date_Time__c": "2026-02-23T17:25:55Z",
                "Meeting_Notes__c": "",
                "Visit_Duration__c": 84
            }
        },
        "Visited_Unit__c": [
            {
                "ok": true,
                "unit": "1055_Le18Juillet-2",
                "id": "a01As00000thXkFIAU",
                "http": 201
            },
            {
                "ok": true,
                "unit": "1051_Le18Juillet-2",
                "id": "a01As00000thXxGIAU",
                "http": 201
            },
            {
                "ok": true,
                "unit": "939_Le21Mars-2",
                "id": "a01As00000thRtOIAU",
                "http": 201
            },
            {
                "ok": true,
                "unit": "1023_Le21Mars-2",
                "id": "a01As00000thY0MIAU",
                "http": 201
            }
        ]
    }
}