{
    "id": "20260318_140057_329b8043",
    "timestamp": "2026-03-18T14:00:57+00:00",
    "meta": {
        "method": "POST",
        "uri": "/trudel/SB/FinDeVisite.php?action=create_all",
        "query": {
            "action": "create_all"
        },
        "ip": "142.118.112.73",
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36",
        "http_code": 200,
        "note": "create_all",
        "OpportunityId": "006As00000ONR89IAH",
        "VisitId": "a03As00000zlHgdIAE"
    },
    "input": {
        "Agent": {
            "FirstName": "Démo",
            "LastName": " ",
            "Email": "immersioninternal@gmail.com",
            "Job": " "
        },
        "Clients": [
            {
                "FirstName": "Philippe",
                "LastName": "LaRochelle",
                "Email": "philippe@minuitmoinsune.com",
                "Phone": "",
                "Post": ""
            }
        ],
        "Projects": [
            {
                "ProjectName": "Le18Juillet",
                "Favorites": {
                    "Units": [
                        "1153_Le18Juillet-2",
                        "263_Le18Juillet-2"
                    ],
                    "CommonAreas": [
                        "Piscine au toit"
                    ],
                    "Surroundings": [
                        "Plaines d’Abraham "
                    ]
                },
                "Estimates": [
                    {
                        "Unit": "1153",
                        "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": 2310,
                        "Deduction": 0,
                        "OtherFees": 0,
                        "FinalPrice": 2400
                    }
                ],
                "ProjectTime": {
                    "TimeSpent": 65.378448486328125,
                    "Subsections": {
                        "Immeuble": {
                            "TimeSpent": 18.2786655426025390625,
                            "Subsections": []
                        },
                        "Unite": {
                            "TimeSpent": 15.3588199615478515625,
                            "Subsections": []
                        },
                        "Espace commun": {
                            "TimeSpent": 4.97740936279296875,
                            "Subsections": []
                        },
                        "Entourage": {
                            "TimeSpent": 8.0055694580078125,
                            "Subsections": []
                        },
                        "Favoris": {
                            "TimeSpent": 1.76973724365234375,
                            "Subsections": []
                        },
                        "Estimation": {
                            "TimeSpent": 2.032676696777344194089209850062616169452667236328125,
                            "Subsections": []
                        },
                        "Fin de visite": {
                            "TimeSpent": 14.95557403564453125,
                            "Subsections": []
                        }
                    }
                }
            }
        ],
        "GeneralInfo": {
            "Date": "2026.03.18",
            "VisitTime": 65.378448486328125,
            "Pet": "",
            "UnitsSeeked": [],
            "Comment": ""
        }
    },
    "output": {
        "ok": true,
        "LeadConversion": null,
        "Opportunity": {
            "http": null,
            "resp": null,
            "id": "006As00000ONR89IAH"
        },
        "Roles": [
            {
                "http": 200,
                "resp": {
                    "id": "00KAs00000deFGPMA2",
                    "alreadyExists": true
                },
                "role": {
                    "ContactId": "003As00000zlN1JIAU",
                    "Role": "Client principal",
                    "IsPrimary": true
                }
            }
        ],
        "Visit__c": {
            "mode": "update",
            "id": "a03As00000zlHgdIAE",
            "http": 204,
            "payload": {
                "Opportunity__c": "006As00000ONR89IAH",
                "Contact_1__c": "003As00000zlN1JIAU",
                "Meeting_Date_Time__c": "2026-03-18T14:00:55Z",
                "Meeting_Notes__c": "",
                "Visit_Duration__c": 65
            }
        },
        "Visited_Unit__c": [
            {
                "ok": true,
                "unit": "1153_Le18Juillet-2",
                "id": "a01As00000ukcDLIAY",
                "http": 201
            },
            {
                "ok": true,
                "unit": "263_Le18Juillet-2",
                "id": "a01As00000ukTWtIAM",
                "http": 201
            }
        ]
    }
}