{
    "timestamp": "2026-05-23T17:28:39+00:00",
    "request": {
        "method": "POST",
        "uri": "\/prevel\/FDV\/FinDeVisite.php?action=create_all",
        "remote_ip": "70.24.233.187",
        "user_agent": "X-UnrealEngine-Agent"
    },
    "input": {
        "Agent": {
            "FirstName": "Invité",
            "LastName": " ",
            "Email": "immersioninternal@gmail.com",
            "Job": " "
        },
        "Clients": [
            {
                "FirstName": "Imma",
                "LastName": "Bruno",
                "Email": "Neissabruno@gmail.com",
                "Phone": "",
                "Post": ""
            }
        ],
        "Projects": [
            {
                "ProjectName": "Prevel - EC3",
                "Favorites": {
                    "Units": [
                        "604_EC3",
                        "1110_EC3"
                    ],
                    "CommonAreas": [],
                    "Surroundings": []
                },
                "Estimates": [],
                "ProjectTime": {
                    "TimeSpent": 9433.744140625,
                    "Subsections": {
                        "Immeuble": {
                            "TimeSpent": 7.240405559539794921875,
                            "Subsections": []
                        },
                        "Unite": {
                            "TimeSpent": 9400.3046875,
                            "Subsections": []
                        },
                        "Fin de visite": {
                            "TimeSpent": 26.19921875,
                            "Subsections": []
                        }
                    }
                }
            }
        ],
        "GeneralInfo": {
            "Date": "2026.05.23",
            "VisitTime": 9433.744140625,
            "Pet": "",
            "UnitsSeeked": [],
            "Comment": ""
        }
    },
    "output": {
        "logs": [
            {
                "ts": "2026-05-23T17:28:39+00:00",
                "level": "info",
                "message": "Action create_all déclenchée",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:39+00:00",
                "level": "info",
                "message": "Payload FindeVisite reçu",
                "context": {
                    "clients_count": 1,
                    "projects_count": 1
                }
            },
            {
                "ts": "2026-05-23T17:28:39+00:00",
                "level": "info",
                "message": "Données de visite résidentielle extraites",
                "context": {
                    "client": "Imma Bruno",
                    "clients_total": 1,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-23",
                    "visit_minutes": 157,
                    "favorite_units": [
                        "604_EC3",
                        "1110_EC3"
                    ],
                    "favorite_common_areas": [],
                    "favorite_surroundings": []
                }
            },
            {
                "ts": "2026-05-23T17:28:39+00:00",
                "level": "info",
                "message": "Étape 1 - Organisation résidentielle",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:39+00:00",
                "level": "info",
                "message": "Recherche de l'organisation résidentielle fixe",
                "context": {
                    "name": "Esplanade Cartier"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Pipedrive organization found",
                "context": {
                    "entity_type": "organization",
                    "id": 355,
                    "label": "Esplanade Cartier",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                    "extra": {
                        "source": "organizations\/find"
                    }
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Étape 2 - Contacts résidentiels (1 client(s))",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Recherche du contact résidentiel",
                "context": {
                    "name": "Imma Bruno",
                    "email": "Neissabruno@gmail.com",
                    "phone": null
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Contact résidentiel non trouvé, création",
                "context": {
                    "name": "Imma Bruno",
                    "email": "Neissabruno@gmail.com",
                    "phone": null,
                    "org_id": 355
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Pipedrive person created",
                "context": {
                    "entity_type": "person",
                    "id": 42922,
                    "label": "Imma Bruno",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/person\/42922",
                    "extra": {
                        "email": "Neissabruno@gmail.com",
                        "phone": null,
                        "org_id": 355
                    }
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Client 1\/1 traité",
                "context": {
                    "person_id": 42922,
                    "name": "Imma Bruno",
                    "email": "Neissabruno@gmail.com",
                    "url": "https:\/\/royallepage.pipedrive.com\/person\/42922"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Étape 3 - Vérification doublon deal résidentiel",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Recherche d'un deal résidentiel existant",
                "context": {
                    "person_id": 42922,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-23"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Passe 2 : recherche via \/persons\/{id}\/deals (toutes étapes)",
                "context": {
                    "person_id": 42922,
                    "project": "Prevel - EC3"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Aucun deal résidentiel existant trouvé (passe 1 + passe 2)",
                "context": {
                    "person_id": 42922,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-23"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Étape 4 - Création d'un nouveau deal résidentiel",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "level": "info",
                "message": "Création du deal résidentiel dans Pipedrive",
                "context": {
                    "title": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                    "person_id": 42922,
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-23",
                    "favorite_units": [
                        "604_EC3",
                        "1110_EC3"
                    ]
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "level": "info",
                "message": "Pipedrive deal created",
                "context": {
                    "entity_type": "deal",
                    "id": 51563,
                    "label": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/deal\/51563",
                    "extra": {
                        "person_id": 42922,
                        "org_id": 355,
                        "project": "Prevel - EC3",
                        "visit_date": "2026-05-23",
                        "favorite_units": [
                            "604_EC3",
                            "1110_EC3"
                        ],
                        "payload": {
                            "title": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                            "person_id": 42922,
                            "org_id": 355,
                            "visible_to": 3,
                            "status": "open",
                            "add_time": "2026-05-23 17:28:40"
                        }
                    }
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "level": "info",
                "message": "Étape 5 - Création activité meeting résidentielle",
                "context": []
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "level": "info",
                "message": "Création de l'activité meeting résidentielle dans Pipedrive",
                "context": {
                    "deal_id": 51563,
                    "person_ids": [
                        42922
                    ],
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "due_date": "2026-05-23",
                    "due_time": "14:51",
                    "duration_minutes": 157,
                    "duration_pipedrive": "02:37",
                    "favorite_units": [
                        "604_EC3",
                        "1110_EC3"
                    ]
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "level": "info",
                "message": "Pipedrive activity created",
                "context": {
                    "entity_type": "activity",
                    "id": 133273,
                    "label": "Visite résidentielle - Prevel - EC3",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/activity\/133273",
                    "extra": {
                        "deal_id": 51563,
                        "person_ids": [
                            42922
                        ],
                        "org_id": 355,
                        "due_date": "2026-05-23",
                        "due_time": "14:51",
                        "duration": "02:37",
                        "participants": [],
                        "payload": {
                            "subject": "Visite résidentielle - Prevel - EC3",
                            "type": "meeting",
                            "done": 0,
                            "due_date": "2026-05-23",
                            "due_time": "14:51",
                            "duration": "02:37",
                            "deal_id": 51563,
                            "person_id": 42922,
                            "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Invité -  \nClient(s) : Imma Bruno\nUnités favorites : 604, 1110"
                        }
                    }
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "level": "info",
                "message": "Résumé final avec IDs Pipedrive",
                "context": {
                    "organization_id": 355,
                    "person_ids": [
                        42922
                    ],
                    "deal_id": 51563,
                    "deal_created": true,
                    "activity_id": 133273,
                    "participants": 1,
                    "pipedrive_urls": {
                        "organization": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                        "persons": [
                            "https:\/\/royallepage.pipedrive.com\/person\/42922"
                        ],
                        "deal": "https:\/\/royallepage.pipedrive.com\/deal\/51563",
                        "activity": "https:\/\/royallepage.pipedrive.com\/activity\/133273"
                    }
                }
            }
        ],
        "http": [
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/organizations\/find?term=Esplanade+Cartier&exact_match=true&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":[{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"visible_to\":3,\"details\":{\"org_address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"}},{\"id\":357,\"name\":\"ESPLANADE CARTIER (LOT 2)\",\"visible_to\":3,\"details\":{\"org_address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"}}],\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=Neissabruno%40gmail.com&item_type=person&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=Imma+Bruno&item_type=person&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "POST",
                "url": "https:\/\/api.pipedrive.com\/v1\/persons?api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "payload": {
                    "name": "Imma Bruno",
                    "visible_to": 3,
                    "first_name": "Imma",
                    "last_name": "Bruno",
                    "email": [
                        {
                            "value": "Neissabruno@gmail.com",
                            "primary": true,
                            "label": "work"
                        }
                    ],
                    "org_id": 355
                },
                "status": 201,
                "response_preview": "{\"success\":true,\"data\":{\"id\":42922,\"owner_id\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true,\"value\":9879203},\"org_id\":{\"name\":\"ESPLANADE CARTIER\",\"people_count\":422,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\",\"value\":355},\"name\":\"Imma Bruno\",\"first_name\":\"Imma\",\"last_name\":\"Bruno\",\"open_deals_count\":0,\"related_open_deals_count\":0,\"closed_deals_count\":0,\"related_closed_deals_count\":0,\"participant_open_deals_count\":0,\"participant_closed_deals_count\":0,\"email_messages_count\":0,\"activities_count\":0,\"done_activities_count\":0,\"undone_activities_count\":0,\"files_count\":0,\"notes_count\":0,\"followers_count\":0,\"won_deals_count\":0,\"related_won_deals_count\":0,\"lost_deals_count\":0,\"related_lost_deals_count\":0,\"active_flag\":true,\"phone\":[{\"value\":\"\",\"primary\":true}],\"email\":[{\"label\":\"work\",\"value\":\"Neissabruno@gmail.com\",\"primary\":true}],\"first_char\":\"i\",\"update_time\":\"2026-05-23 17:28:40\",\"delete_time\":null,\"add_time\":\"2026-05-23 17:28:40\",\"visible_to\":\"3\",\"picture_id\":null,\"next_activity_date\":null,\"next_activity_time\":null,\"next_activity_id\":null,\"last_activity_id\":null,\"last_activity_date\":null,\"last_incoming_mail_time\":null,\"last_outgoing_mail_time\":null,\"label\":null,\"label_ids\":[],\"im\":[{\"value\":\"\",\"primary\":true}],\"postal_address\":null,\"postal_address_lat\":null,\"postal_address_long\":null,\"postal_address_subpremise\":null,\"postal_address_street_number\":null,\"postal_address_route\":null,\"postal_address_sublocality\":null,\"postal_address_locality\":null,\"postal_address_admin_area_level_1\":null,\"postal_address_admin_area_level_2\":null,\"postal_address_country\":null,\"postal_address_postal_code\":null,\"postal_address_formatted_address\":null,\"notes\":null,\"birthday\":null,\"job_title\":null,\"org_name\":\"ESPLANADE CARTIER\",\"marketing_status\":\"no_consent\",\"doi_status\":1,\"cc_email\":\"royallepage@pipedrivemail.com\",\"primary_email\":\"Neissabruno@gmail.com\",\"owner_name\":\"Dave Carter\",\"f424f6d55767de8b5143969d2f4c62b19a816c84\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_subpremise\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_street_number\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_route\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_sublocality\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_locality\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_admin_area_level_1\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_admin_area_level_2\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_country\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_postal_code\":null,\"f424f6d55767de8b5143969d2f4c62b19a816c84_formatted_address\":null,\"a18418c2a0fbedcdab526e8b5baae2f7c070b22e\":null,\"aef57d73802d520d8db842fab5dc48712b048c15\":null,\"4cb68349909d67fae59cf4d488d3c73eae005824\":null,\"0f0666d959d860ce49a6ba8fa4ab7764dd591d97\":null,\"929d61016ba48551f58c90ccc5197baa1ac07a31\":null,\"425db4d1ae01f761b6ecc6012f1a6b6767f5324c\":null,\"company_id\":5853833},\"additional_data\":{\"didMerge\":false},\"related_objects\":{\"organization\":{\"355\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"people_count\":422,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\"}},\"user\":{\"9879203\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true}}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=Prevel+-+EC3&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":1.092828,\"item\":{\"id\":51533,\"type\":\"deal\",\"title\":\"Visite Immersion 22\/05\/2026 - Elizabeth D - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42857,\"name\":\"Liz\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51405,\"type\":\"deal\",\"title\":\"Visite Immersion 19\/05\/2026 - Gab  G - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42788,\"name\":\"Gab G\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":0.10928281,\"item\":{\"id\":51013,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Adil Tarnagada - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41627,\"name\":\"Adil TARNAGADA\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":true}},{\"result_score\":0.10928281,\"item\":{\"id\":50994,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Daniel Zabroda - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41459,\"name\":\"Daniel Zabroda\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":true}},{\"result_score\":0.10928281,\"item\":{\"id\":51014,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Liyassine Azzemou - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42451,\"name\":\"Liyassine Azzemou\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":true}},{\"result_score\":0.10928281,\"item\":{\"id\":51009,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Claudia Tam - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41781,\"name\":\"Claudia Tam\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":true}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=23%2F05%2F2026&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":0.192852,\"item\":{\"id\":51464,\"type\":\"deal\",\"title\":\"LE PHILIPPE PHASE 1 Le Philippe\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":24861427},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":36752,\"name\":\"Olfa khenissi\"},\"organization\":{\"id\":345,\"name\":\"LE PHILIPPE PHASE 1\",\"address\":\"992 Avenue Roland-Beaudin, Québec, QC, Canada\"},\"custom_fields\":[],\"notes\":[\"Lead recu par courriel Source: Email transfere De: Le Philippe Sujet: Intérêt - Le Philippe Message: Intérêt - Le Philippe Intérêt - Le Philippe Olfa Khen okhenissi83@gmail.com (mailto:okhenissi83@gmail.com) Je suis intéressé par : 3½ 4½ Date de prise de possession souhaitée : 2026-05-23 Je souhaite m’inscrire à l’infolettre et recevoir des nouvelles du projet.\"],\"is_archived\":false}},{\"result_score\":0.15778801,\"item\":{\"id\":3874,\"type\":\"deal\",\"title\":\"Offre Isabelle Morin 421\",\"value\":null,\"currency\":\"CAD\",\"status\":\"won\",\"visible_to\":3,\"owner\":{\"id\":11566863},\"stage\":{\"id\":10,\"name\":\"Signature complétée\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":3932,\"name\":\"Isabelle Morin\"},\"organization\":{\"id\":43,\"name\":\"LE HUPPÉ\",\"address\":\"2010 Boulevard Lebourgneuf, Québec, QC, Canada\"},\"custom_fields\":[\"421\"],\"notes\":[\"1970-07-16 D1657-160770-08 Exp: 2026-07-16 principale: comptable travailleur autonome. M6504-230574-05 2022-05-23 1974-05-23 Principale: propriétaire designer intérieur Vision Renov Dodge Ram 2020 noir\"],\"is_archived\":false}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=2026-05-23&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":0.192852,\"item\":{\"id\":51464,\"type\":\"deal\",\"title\":\"LE PHILIPPE PHASE 1 Le Philippe\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":24861427},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":36752,\"name\":\"Olfa khenissi\"},\"organization\":{\"id\":345,\"name\":\"LE PHILIPPE PHASE 1\",\"address\":\"992 Avenue Roland-Beaudin, Québec, QC, Canada\"},\"custom_fields\":[],\"notes\":[\"Lead recu par courriel Source: Email transfere De: Le Philippe Sujet: Intérêt - Le Philippe Message: Intérêt - Le Philippe Intérêt - Le Philippe Olfa Khen okhenissi83@gmail.com (mailto:okhenissi83@gmail.com) Je suis intéressé par : 3½ 4½ Date de prise de possession souhaitée : 2026-05-23 Je souhaite m’inscrire à l’infolettre et recevoir des nouvelles du projet.\"],\"is_archived\":false}},{\"result_score\":0.15778801,\"item\":{\"id\":3874,\"type\":\"deal\",\"title\":\"Offre Isabelle Morin 421\",\"value\":null,\"currency\":\"CAD\",\"status\":\"won\",\"visible_to\":3,\"owner\":{\"id\":11566863},\"stage\":{\"id\":10,\"name\":\"Signature complétée\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":3932,\"name\":\"Isabelle Morin\"},\"organization\":{\"id\":43,\"name\":\"LE HUPPÉ\",\"address\":\"2010 Boulevard Lebourgneuf, Québec, QC, Canada\"},\"custom_fields\":[\"421\"],\"notes\":[\"1970-07-16 D1657-160770-08 Exp: 2026-07-16 principale: comptable travailleur autonome. M6504-230574-05 2022-05-23 1974-05-23 Principale: propriétaire designer intérieur Vision Renov Dodge Ram 2020 noir\"],\"is_archived\":false}},{\"result_score\":0.05844,\"item\":{\"type\":\"lead\",\"id\":\"f3fb6450-49ab-11f1-831e-bd3ca4edb15d\",\"title\":\"Johanne Beaudoin - Îlot Victoria\",\"owner\":{\"id\":24573986},\"person\":{\"id\":42395,\"name\":\"Johanne Beaudoin\"},\"organization\":{\"id\":356,\"name\":\"ILOT VICTORIA\"},\"phones\":[],\"emails\":[],\"custom_fields\":[],\"notes\":[\"Résumé de soumission du formulaire web Nom complet Johanne Beaudoin E-mail j0j0.beaudoin@gmail.com Téléphone 418 881-2316 Vous êtes actuellement... Propriétaire Type d'unité intéressé 149 Votre message\",\"Nouvelle soumission le 2026-05-07 Résumé de soumission du formulaire web Nom complet Johanne Beaudoin E-mail j0j0.beaudoin@gmail.com Téléphone 581 397-5316 Vous êtes actuellement... Propriétaire Type d'unité intéressé 149 Votre message\"],\"value\":null,\"currency\":null,\"visible_to\":3,\"is_archived\":false}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/persons\/42922\/deals?status=open&limit=50&start=0&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":null,\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":50,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "method": "POST",
                "url": "https:\/\/api.pipedrive.com\/v1\/deals?api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "payload": {
                    "title": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                    "person_id": 42922,
                    "org_id": 355,
                    "visible_to": 3,
                    "status": "open",
                    "add_time": "2026-05-23 17:28:40"
                },
                "status": 201,
                "response_preview": "{\"success\":true,\"data\":{\"id\":51563,\"creator_user_id\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true,\"value\":9879203},\"user_id\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true,\"value\":9879203},\"person_id\":{\"active_flag\":true,\"name\":\"Imma Bruno\",\"email\":[{\"label\":\"work\",\"value\":\"Neissabruno@gmail.com\",\"primary\":true}],\"phone\":[{\"value\":\"\",\"primary\":true}],\"owner_id\":9879203,\"company_id\":5853833,\"value\":42922},\"org_id\":{\"name\":\"ESPLANADE CARTIER\",\"people_count\":423,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\",\"value\":355},\"stage_id\":2,\"title\":\"Visite Immersion 23\\\/05\\\/2026 - Imma Bruno - Prevel - EC3\",\"value\":0,\"currency\":\"CAD\",\"add_time\":\"2026-05-23 17:28:40\",\"update_time\":\"2026-05-23 17:28:41\",\"stage_change_time\":null,\"active\":true,\"deleted\":false,\"status\":\"open\",\"probability\":null,\"next_activity_date\":null,\"next_activity_time\":null,\"next_activity_id\":null,\"last_activity_id\":null,\"last_activity_date\":null,\"lost_reason\":null,\"visible_to\":\"3\",\"close_time\":null,\"pipeline_id\":1,\"won_time\":null,\"first_won_time\":null,\"lost_time\":null,\"products_count\":0,\"files_count\":0,\"notes_count\":0,\"followers_count\":0,\"email_messages_count\":0,\"activities_count\":0,\"done_activities_count\":0,\"undone_activities_count\":0,\"participants_count\":0,\"expected_close_date\":null,\"last_incoming_mail_time\":null,\"last_outgoing_mail_time\":null,\"label\":null,\"local_won_date\":null,\"local_lost_date\":null,\"local_close_date\":null,\"origin\":\"API\",\"origin_id\":null,\"channel\":null,\"channel_id\":null,\"is_archived\":false,\"archive_time\":null,\"score\":null,\"sequence_enrollment\":null,\"source_lead_id\":null,\"stage_order_nr\":1,\"person_name\":\"Imma Bruno\",\"org_name\":\"ESPLANADE CARTIER\",\"next_activity_subject\":null,\"next_activity_type\":null,\"next_activity_duration\":null,\"next_activity_note\":null,\"formatted_value\":\"0\\u00a0$\",\"weighted_value\":0,\"formatted_weighted_value\":\"0\\u00a0$\",\"weighted_value_currency\":\"CAD\",\"rotten_time\":\"2026-07-07 17:28:41\",\"owner_name\":\"Dave Carter\",\"cc_email\":\"royallepage+deal51563@pipedrivemail.com\",\"8b9855c7ce48c96bef9d9d18c639a30aa42d7198\":null,\"6d8c2513012c6169591ff78980c3cd508a9ce365\":null,\"a4ec5c24434939a2fa6e4892853ff2bbbc11376b\":null,\"614f552f040cb074654d3b2f5fa446d1aefb23cd\":null,\"f2df2395324b089eabbd44894f7ef5c031a93078\":null,\"801fc9507f57369ae66ce68b9f4837a13990ab06\":null,\"8011ab704ad9ffedcce905aac40533d352a022f0\":null,\"a63f7bf91cb31153a13429b6cb1c0cb7edddc0cd\":null,\"108c253748778d253dedcbc9782392cf06bd200b\":null,\"73182328101fabfc57aa79fe8381a96ae04b1214\":null,\"2538226796ddc8ec720602109cae69c87c38eac1\":null,\"0139beac42c6a4026f20ec6af9dade12d0c01105\":null,\"3539c67cc43841b31afd0e01d95593749b09e28f\":null,\"4c39a57952489e63bbfd2f9d23d17b9defcb30ea\":null,\"496d307d13912ec51c08776960921b5f19c65031\":null,\"e8af9918b2bc78bc2b225f6712d62f370bc14e52\":null,\"6cb0d60d3b922f4388d42e9812c24e042068518a\":null,\"3e97fa9f01567cd78aa3bf27bd18c00aab2b6c6b\":null,\"b008db8521bd198e84923e7438b3a2fa94e0bc3d\":null,\"3b4d1d6152418b7f24423312bda80db466d7a951\":null,\"4cc344dfea314d549251e957cf0c96f80fb5704b\":null,\"org_hidden\":false,\"person_hidden\":false},\"related_objects\":{\"user\":{\"9879203\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true}},\"pipeline\":{\"1\":{\"id\":1,\"name\":\"Pipeline\",\"url_title\":\"Pipeline\",\"order_nr\":1,\"active\":true,\"deal_probability\":false,\"add_time\":\"2019-04-30 17:58:53\",\"update_time\":\"2019-05-01 15:01:10\"}},\"stage\":{\"2\":{\"id\":2,\"order_nr\":1,\"name\":\"Nouveau lead\",\"active_flag\":true,\"deal_probability\":100,\"pipeline_id\":1,\"rotten_flag\":true,\"rotten_days\":45,\"add_time\":\"2019-04-30 18:52:33\",\"update_time\":\"2023-05-05 20:21:47\",\"pipeline_name\":\"Pipeline\",\"pipeline_deal_probability\":false}},\"organization\":{\"355\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"people_count\":423,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\"}},\"person\":{\"42922\":{\"active_flag\":true,\"id\":42922,\"name\":\"Imma Bruno\",\"email\":[{\"label\":\"work\",\"value\":\"Neissabruno@gmail.com\",\"primary\":true}],\"phone\":[{\"value\":\"\",\"primary\":true}],\"owner_id\":9879203,\"company_id\":5853833}}}}"
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "method": "POST",
                "url": "https:\/\/api.pipedrive.com\/v1\/activities?api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "payload": {
                    "subject": "Visite résidentielle - Prevel - EC3",
                    "type": "meeting",
                    "done": 0,
                    "due_date": "2026-05-23",
                    "due_time": "14:51",
                    "duration": "02:37",
                    "deal_id": 51563,
                    "person_id": 42922,
                    "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Invité -  \nClient(s) : Imma Bruno\nUnités favorites : 604, 1110"
                },
                "status": 201,
                "response_preview": "{\"success\":true,\"data\":{\"id\":133273,\"user_id\":9879203,\"done\":false,\"type\":\"meeting\",\"reference_type\":null,\"reference_id\":null,\"conference_meeting_client\":null,\"conference_meeting_url\":null,\"due_date\":\"2026-05-23\",\"due_time\":\"14:51\",\"duration\":\"02:37\",\"busy_flag\":true,\"add_time\":\"2026-05-23 17:28:41\",\"marked_as_done_time\":\"\",\"last_notification_time\":null,\"last_notification_user_id\":null,\"notification_language_id\":null,\"subject\":\"Visite r\\u00e9sidentielle - Prevel - EC3\",\"public_description\":null,\"calendar_sync_include_context\":null,\"location\":null,\"org_id\":355,\"person_id\":42922,\"deal_id\":51563,\"lead_id\":null,\"project_id\":null,\"active_flag\":true,\"update_time\":\"2026-05-23 17:28:41\",\"update_user_id\":null,\"source_timezone\":null,\"rec_rule\":null,\"rec_rule_extension\":null,\"rec_master_activity_id\":null,\"conference_meeting_id\":null,\"original_start_time\":null,\"private\":false,\"priority\":null,\"note\":\"Visite r\\u00e9sidentielle organis\\u00e9e via Immersion\\nConseiller(\\u00e8re) : Invit\\u00e9 - \\nClient(s) : Imma Bruno\\nUnit\\u00e9s favorites : 604, 1110\",\"created_by_user_id\":9879203,\"location_subpremise\":null,\"location_street_number\":null,\"location_route\":null,\"location_sublocality\":null,\"location_locality\":null,\"location_admin_area_level_1\":null,\"location_admin_area_level_2\":null,\"location_country\":null,\"location_postal_code\":null,\"location_formatted_address\":null,\"attendees\":null,\"participants\":[{\"person_id\":42922,\"primary_flag\":true}],\"series\":null,\"is_recurring\":null,\"org_name\":\"ESPLANADE CARTIER\",\"person_name\":\"Imma Bruno\",\"deal_title\":\"Visite Immersion 23\\\/05\\\/2026 - Imma Bruno - Prevel - EC3\",\"lead_title\":null,\"project_title\":null,\"owner_name\":\"Dave Carter\",\"person_dropbox_bcc\":\"royallepage@pipedrivemail.com\",\"deal_dropbox_bcc\":\"royallepage+deal51563@pipedrivemail.com\",\"assigned_to_user_id\":9879203,\"type_name\":\"Meeting\",\"lead\":null,\"company_id\":5853833},\"additional_data\":{\"updates_story_id\":null},\"related_objects\":{\"organization\":{\"355\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"people_count\":423,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\"}},\"person\":{\"42922\":{\"active_flag\":true,\"id\":42922,\"name\":\"Imma Bruno\",\"email\":[{\"label\":\"work\",\"value\":\"Neissabruno@gmail.com\",\"primary\":true}],\"phone\":[{\"value\":\"\",\"primary\":true}],\"owner_id\":9879203,\"company_id\":5853833}},\"deal\":{\"51563\":{\"id\":51563,\"title\":\"Visite Immersion 23\\\/05\\\/2026 - Imma Bruno - Prevel - EC3\",\"status\":\"open\",\"value\":0,\"currency\":\"CAD\",\"stage_id\":2,\"pipeline_id\":1,\"user_id\":9879203,\"is_archived\":false,\"archive_time\":null}},\"user\":{\"9879203\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true}}}}"
            }
        ],
        "pipedrive_entities": [
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "action": "found",
                "entity_type": "organization",
                "id": 355,
                "label": "Esplanade Cartier",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                "extra": {
                    "source": "organizations\/find"
                }
            },
            {
                "ts": "2026-05-23T17:28:40+00:00",
                "action": "created",
                "entity_type": "person",
                "id": 42922,
                "label": "Imma Bruno",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/person\/42922",
                "extra": {
                    "email": "Neissabruno@gmail.com",
                    "phone": null,
                    "org_id": 355
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "action": "created",
                "entity_type": "deal",
                "id": 51563,
                "label": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/deal\/51563",
                "extra": {
                    "person_id": 42922,
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-23",
                    "favorite_units": [
                        "604_EC3",
                        "1110_EC3"
                    ],
                    "payload": {
                        "title": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
                        "person_id": 42922,
                        "org_id": 355,
                        "visible_to": 3,
                        "status": "open",
                        "add_time": "2026-05-23 17:28:40"
                    }
                }
            },
            {
                "ts": "2026-05-23T17:28:41+00:00",
                "action": "created",
                "entity_type": "activity",
                "id": 133273,
                "label": "Visite résidentielle - Prevel - EC3",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/activity\/133273",
                "extra": {
                    "deal_id": 51563,
                    "person_ids": [
                        42922
                    ],
                    "org_id": 355,
                    "due_date": "2026-05-23",
                    "due_time": "14:51",
                    "duration": "02:37",
                    "participants": [],
                    "payload": {
                        "subject": "Visite résidentielle - Prevel - EC3",
                        "type": "meeting",
                        "done": 0,
                        "due_date": "2026-05-23",
                        "due_time": "14:51",
                        "duration": "02:37",
                        "deal_id": 51563,
                        "person_id": 42922,
                        "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Invité -  \nClient(s) : Imma Bruno\nUnités favorites : 604, 1110"
                    }
                }
            }
        ]
    },
    "result": {
        "ok": true,
        "organization": {
            "id": 355,
            "name": "Esplanade Cartier",
            "url": "https:\/\/royallepage.pipedrive.com\/organization\/355"
        },
        "person": {
            "id": 42922,
            "name": "Imma Bruno",
            "url": "https:\/\/royallepage.pipedrive.com\/person\/42922"
        },
        "persons": [
            {
                "id": 42922,
                "name": "Imma Bruno",
                "url": "https:\/\/royallepage.pipedrive.com\/person\/42922"
            }
        ],
        "deal": {
            "id": 51563,
            "created": true,
            "title": "Visite Immersion 23\/05\/2026 - Imma Bruno - Prevel - EC3",
            "url": "https:\/\/royallepage.pipedrive.com\/deal\/51563"
        },
        "activity": {
            "id": 133273,
            "created": true,
            "participants": 1,
            "url": "https:\/\/royallepage.pipedrive.com\/activity\/133273"
        },
        "visit_info": {
            "context": "Résidentiel",
            "date": "2026-05-23",
            "duration_minutes": 157,
            "project": "Prevel - EC3",
            "favorite_units": [
                "604_EC3",
                "1110_EC3"
            ],
            "favorite_common_areas": [],
            "favorite_surroundings": []
        },
        "pipedrive_ids": {
            "organization_id": 355,
            "person_ids": [
                42922
            ],
            "deal_id": 51563,
            "activity_id": 133273
        },
        "pipedrive_urls": {
            "organization": "https:\/\/royallepage.pipedrive.com\/organization\/355",
            "persons": [
                "https:\/\/royallepage.pipedrive.com\/person\/42922"
            ],
            "deal": "https:\/\/royallepage.pipedrive.com\/deal\/51563",
            "activity": "https:\/\/royallepage.pipedrive.com\/activity\/133273"
        }
    }
}