{
    "id": "20260504_174917_aeede52c",
    "timestamp": "2026-05-04T17:49:17+00:00",
    "meta": {
        "method": "POST",
        "uri": "/trudel/V2/PREPROD/FinDeVisite.php?action=create_all",
        "query": {
            "action": "create_all"
        },
        "ip": "34.34.248.24",
        "user_agent": "python-requests/2.33.1",
        "http_code": 200,
        "note": "create_all",
        "OpportunityId": "006bZ00000VvoavQAB",
        "VisitId": "a03bZ00000XdODzQAN"
    },
    "input": {
        "Agent": {
            "FirstName": "Thomas",
            "LastName": "Raymond",
            "Email": "thomas.raymond@trudel.ca",
            "Job": "Architecte de Solutions "
        },
        "Clients": [
            {
                "FirstName": "John",
                "LastName": "Wick",
                "Email": "thomas.raymond+wick@trudel.ca",
                "Phone": "",
                "Post": ""
            }
        ],
        "Projects": [
            {
                "ProjectName": "Le18Juillet",
                "Favorites": {
                    "Units": [
                        "1150_Le18Juillet-2",
                        "1226_Le18Juillet-1"
                    ],
                    "CommonAreas": [
                        "Piscine au toit"
                    ],
                    "Surroundings": [
                        "Place des Quatre-Bourgeois"
                    ]
                },
                "Estimates": [
                    {
                        "Unit": "1150",
                        "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": [
                            {
                                "Name": "Location Électroménagers (5)",
                                "Price": 100
                            }
                        ],
                        "ServicesAndOptionsMultiple": [
                            {
                                "Name": "Stationnement intérieur (à partir de)",
                                "Number": 1,
                                "Price": 85
                            }
                        ],
                        "ServicesAndOptionsPrice": 185,
                        "UnitPrice": 2870,
                        "Deduction": 0,
                        "OtherFees": 0,
                        "FinalPrice": 3055
                    }
                ],
                "ProjectTime": {
                    "TimeSpent": 42.925197601318359375,
                    "Subsections": {
                        "Immeuble": {
                            "TimeSpent": 7.072082996368408203125,
                            "Subsections": []
                        },
                        "Unite": {
                            "TimeSpent": 23.0394287109375,
                            "Subsections": []
                        },
                        "Espace commun": {
                            "TimeSpent": 4.1349735260009765625,
                            "Subsections": []
                        },
                        "Estimation": {
                            "TimeSpent": 1.603973388671875,
                            "Subsections": []
                        },
                        "Favoris": {
                            "TimeSpent": 1.900146484375,
                            "Subsections": []
                        },
                        "Entourage": {
                            "TimeSpent": 4.1408538818359375,
                            "Subsections": []
                        },
                        "Fin de visite": {
                            "TimeSpent": 1.0337371826171875,
                            "Subsections": []
                        }
                    }
                }
            }
        ],
        "GeneralInfo": {
            "Date": "2026.05.04",
            "VisitTime": 42.925197601318359375,
            "Pet": "",
            "UnitsSeeked": [],
            "Comment": ""
        }
    },
    "output": {
        "ok": true,
        "LeadConversion": null,
        "LeadToOpportunityAutoPayload": [],
        "LeadToOpportunityAutoUpdate": null,
        "Opportunity": {
            "http": 201,
            "resp": {
                "id": "006bZ00000VvoavQAB",
                "success": true,
                "errors": []
            },
            "id": "006bZ00000VvoavQAB"
        },
        "Roles": [
            {
                "http": 201,
                "resp": {
                    "id": "00KbZ00000ApGszUAF",
                    "success": true,
                    "errors": []
                },
                "role": {
                    "ContactId": "003bZ00000XdOsHQAV",
                    "Role": "Client principal",
                    "IsPrimary": true
                }
            }
        ],
        "Visit__c": {
            "mode": "create",
            "id": "a03bZ00000XdODzQAN",
            "http": 201,
            "payload": {
                "Opportunity__c": "006bZ00000VvoavQAB",
                "Assign_to__c": "005OF000001ng5aYAA",
                "Contact_1__c": "003bZ00000XdOsHQAV",
                "Meeting_Date_Time__c": "2026-05-04T17:49:15Z",
                "Meeting_Notes__c": "",
                "Visit_Duration__c": 1
            }
        },
        "Visited_Unit__c": [
            {
                "ok": true,
                "unit": "1150_Le18Juillet-2",
                "id": "a01bZ00000NqSClQAN",
                "http": 201
            },
            {
                "ok": true,
                "unit": "1226_Le18Juillet-1",
                "id": "a01bZ00000NqDu0QAF",
                "http": 201
            }
        ]
    }
}