Skip to content

Instantly share code, notes, and snippets.

@iamajvillalobos
Last active August 18, 2017 01:19
Show Gist options
  • Save iamajvillalobos/e47fbb443b0b689c0416234a1314d288 to your computer and use it in GitHub Desktop.
Save iamajvillalobos/e47fbb443b0b689c0416234a1314d288 to your computer and use it in GitHub Desktop.
webhook response without person id
{
"v" => 1, "matches_filters" => {
"current" => []
}, "meta" => {
"v" => 1,
"action" => "added",
"object" => "deal",
"id" => 25933,
"company_id" => 1385452,
"user_id" => 2183736,
"host" => "tanda.pipedrive.com",
"timestamp" => 1503018759,
"timestamp_micro" => 1503018759986400,
"permitted_user_ids" => [2183736, 1849080, 1967496, 2075002, 2075322, 2156551, 2178609, 2183625, 2183626, 2183627, 2183632, 2183643, 2183644, 2183688, 2183694, 2183700, 2183706, 2183712, 2183718, 2183724, 2183730, 2183742, 2183748, 2183754, 2183760, 2183766, 2183772, 2183778, 2183784, 2183790, 2183796, 2183802, 2183808, 2183814, 2183820, 2183826, 2183832, 2279123, 2333081, 2367075, 2419059, 2466565, 2466573, 2509980, 2529562, 2571150, 2572923, 2654328, 2654333, 2654338, 2654343, 2654348, 2654353, 2708882, 2708887, 2727058, 2855025, 2855030, 2870201],
"trans_pending" => false,
"is_bulk_update" => false,
"matches_filters" => {
"current" => []
},
"webhook_id" => "20463"
}, "current" => {
"id" => 25933,
"creator_user_id" => 2183736,
"user_id" => 2183736,
"person_id" => nil,
"org_id" => 68550,
"stage_id" => 1,
"title" => "Celeste Catering rest of group deal",
"value" => 2000,
"currency" => "AUD",
"add_time" => "2017-08-18 01:12:39",
"update_time" => "2017-08-18 01:12:39",
"stage_change_time" => nil,
"active" => true,
"deleted" => false,
"status" => "open",
"next_activity_date" => nil,
"next_activity_time" => nil,
"next_activity_id" => nil,
"last_activity_id" => nil,
"last_activity_date" => nil,
"lost_reason" => nil,
"visible_to" => "3",
"close_time" => nil,
"pipeline_id" => 1,
"won_time" => nil,
"first_won_time" => nil,
"lost_time" => nil,
"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,
"reference_activities_count" => 0,
"participants_count" => 0,
"expected_close_date" => nil,
"last_incoming_mail_time" => nil,
"last_outgoing_mail_time" => nil,
"9ef6671c806ecc9f4169bc527ce99527fcf04793" => nil,
"2170b2ee73516743a0058bec6da3dd8c98510762" => nil,
"49c2bea98be46d5071ea0376071318c7d90fd123" => nil,
"375b3193b4c21b748f4ca0dab7f2674c061aa23f" => nil,
"d2600de42a91bd13953ee6357f3c3eb548a6cb87" => nil,
"ae9d774a7fc1f1c5a226df67db34023c68bf9c8b" => nil,
"bf15202ee5ef5afdf68948f8f7558b89f98783ce" => nil,
"9888daa706f57f22cc2b9b8fcd4c8d50b3da997b" => nil,
"145ccd4a24b502785dd3b2b2f2119275c75f5275" => nil,
"8edd6ab9c8ab752288edbf234b1c659fb1ac081a" => nil,
"4fcdb60469787795588cbfb7c4178322b324a475" => nil,
"stage_order_nr" => 1,
"person_name" => nil,
"org_name" => "Celeste Catering rest of group",
"next_activity_subject" => nil,
"next_activity_type" => nil,
"next_activity_duration" => nil,
"next_activity_note" => nil,
"formatted_value" => "$2,000",
"rotten_time" => "2017-08-28 01:12:39",
"weighted_value" => 40,
"formatted_weighted_value" => "$40",
"owner_name" => "Alexandra Franco",
"cc_email" => "[email protected]",
"org_hidden" => false,
"person_hidden" => false
}, "previous" => nil, "event" => "added.deal", "retry" => 0, "webhook" => {
"v" => 1,
"matches_filters" => {
"current" => []
},
"meta" => {
"v" => 1,
"action" => "added",
"object" => "deal",
"id" => 25933,
"company_id" => 1385452,
"user_id" => 2183736,
"host" => "tanda.pipedrive.com",
"timestamp" => 1503018759,
"timestamp_micro" => 1503018759986400,
"permitted_user_ids" => [2183736, 1849080, 1967496, 2075002, 2075322, 2156551, 2178609, 2183625, 2183626, 2183627, 2183632, 2183643, 2183644, 2183688, 2183694, 2183700, 2183706, 2183712, 2183718, 2183724, 2183730, 2183742, 2183748, 2183754, 2183760, 2183766, 2183772, 2183778, 2183784, 2183790, 2183796, 2183802, 2183808, 2183814, 2183820, 2183826, 2183832, 2279123, 2333081, 2367075, 2419059, 2466565, 2466573, 2509980, 2529562, 2571150, 2572923, 2654328, 2654333, 2654338, 2654343, 2654348, 2654353, 2708882, 2708887, 2727058, 2855025, 2855030, 2870201],
"trans_pending" => false,
"is_bulk_update" => false,
"matches_filters" => {
"current" => []
},
"webhook_id" => "20463"
},
"current" => {
"id" => 25933,
"creator_user_id" => 2183736,
"user_id" => 2183736,
"person_id" => nil,
"org_id" => 68550,
"stage_id" => 1,
"title" => "Celeste Catering rest of group deal",
"value" => 2000,
"currency" => "AUD",
"add_time" => "2017-08-18 01:12:39",
"update_time" => "2017-08-18 01:12:39",
"stage_change_time" => nil,
"active" => true,
"deleted" => false,
"status" => "open",
"next_activity_date" => nil,
"next_activity_time" => nil,
"next_activity_id" => nil,
"last_activity_id" => nil,
"last_activity_date" => nil,
"lost_reason" => nil,
"visible_to" => "3",
"close_time" => nil,
"pipeline_id" => 1,
"won_time" => nil,
"first_won_time" => nil,
"lost_time" => nil,
"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,
"reference_activities_count" => 0,
"participants_count" => 0,
"expected_close_date" => nil,
"last_incoming_mail_time" => nil,
"last_outgoing_mail_time" => nil,
"9ef6671c806ecc9f4169bc527ce99527fcf04793" => nil,
"2170b2ee73516743a0058bec6da3dd8c98510762" => nil,
"49c2bea98be46d5071ea0376071318c7d90fd123" => nil,
"375b3193b4c21b748f4ca0dab7f2674c061aa23f" => nil,
"d2600de42a91bd13953ee6357f3c3eb548a6cb87" => nil,
"ae9d774a7fc1f1c5a226df67db34023c68bf9c8b" => nil,
"bf15202ee5ef5afdf68948f8f7558b89f98783ce" => nil,
"9888daa706f57f22cc2b9b8fcd4c8d50b3da997b" => nil,
"145ccd4a24b502785dd3b2b2f2119275c75f5275" => nil,
"8edd6ab9c8ab752288edbf234b1c659fb1ac081a" => nil,
"4fcdb60469787795588cbfb7c4178322b324a475" => nil,
"stage_order_nr" => 1,
"person_name" => nil,
"org_name" => "Celeste Catering rest of group",
"next_activity_subject" => nil,
"next_activity_type" => nil,
"next_activity_duration" => nil,
"next_activity_note" => nil,
"formatted_value" => "$2,000",
"rotten_time" => "2017-08-28 01:12:39",
"weighted_value" => 40,
"formatted_weighted_value" => "$40",
"owner_name" => "Alexandra Franco",
"cc_email" => "[email protected]",
"org_hidden" => false,
"person_hidden" => false
},
"previous" => nil,
"event" => "added.deal",
"retry" => 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment