Skip to content

Instantly share code, notes, and snippets.

@blak3r
Created October 31, 2013 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blak3r/7254066 to your computer and use it in GitHub Desktop.
Save blak3r/7254066 to your computer and use it in GitHub Desktop.
Payload with 1 call... but multiple matching contacts.
[
{
"__v": 0,
"_id": "5271fa60dc34c80000000002",
"_organization": "526f3ca5174b310000000004",
"callerIdCity": "",
"callerIdName": "",
"createdDate": "2013-10-31T06:36:16.832Z",
"deleted": false,
"description": "",
"direction": "Outbound",
"duration": 33393,
"inboundExtension": "2",
"linkTime": "2013-10-31T06:36:40.871Z",
"matchedCrmRecords": [
{
"bean_id": "agxzfm1haWxmb29nYWVyLAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEgRDYXNlGKH4iQEM",
"bean_name": "Contact Match1",
"bean_link": "https://mail.google.com/mail/u/1/#box/agxzfm1haWxmb29nYWVyLAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEgRDYXNlGKH4iQEM",
"bean_description": "14102152497",
"bean_module": "box",
"parent_id": "agxzfm1haWxmb29nYWVyNAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEghXb3JrZmxvdxiAgICA_KeQCQw",
"parent_module": "pipeline",
"parent_name": "Dealflow",
"parent_link": "https://mail.google.com/mail/u/1/#pipeline/agxzfm1haWxmb29nYWVyNAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEghXb3JrZmxvdxiAgICA_KeQCQw"
},
{
"bean_id": "324isjfohsaiuh932XNlGKH4iQEM",
"bean_name": "Contact Match2",
"bean_link": "https://mail.google.com/mail/u/1/#box/agxzfm1haWxmb29nYWVyLAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEgRDYXNlGKH4iQEM",
"bean_description": "This guy is also pretty cool... I wanna be his BFF.",
"bean_module": "box",
"parent_id": "agxzfm1haWxmb29nYWVyNAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEghXb3JrZmxvdxiAgICA_KeQCQw",
"parent_module": "pipeline",
"parent_name": "Dealflow",
"parent_link": "https://mail.google.com/mail/u/1/#pipeline/agxzfm1haWxmb29nYWVyNAsSDE9yZ2FuaXphdGlvbiINY2FsbGluaXplLmNvbQwLEghXb3JrZmxvdxiAgICA_KeQCQw"
}
],
"meta": {
"remote_channel": "SIP/Flowroute-000001cd",
"destination": "SIP/Flowroute-000001cd",
"channel": "SIP/207-000001cc",
"destuniqueid": "1383201372.461",
"uniqueid": "1383201372.460"
},
"name": "",
"pbxCallId": "13899372.460",
"phoneNumber": "4102152497",
"provider": "asterisk",
"status": "Hangup",
"uiState": "",
"updatedDate": "2013-10-31T06:36:50.226Z",
"userDevice": "207",
"userExtension": "207"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment