OTT Profile Events
The following events are generated from the OTT channel applications that are configured on IMIconnect. They can be used to configure new rules in services or sent to a client application through "Notify URL" action in rules.
Facebook
{
"timestamp" : "1462965641016",
"message" : "#start 9999",
"appId" : "a_635976383451066118",
"tenant" : "1",
"event" : "OnProfileCreate",
"name" : "JHON",
"tid" : "ea75743f-9a7b-43f6-9bcb-5f71e02ad340_0",
"profile_pic" : "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/p200x200/12074700_976214455775226_4021411023144234580385_n.jpg?oh=e4e9163a4e58f8b7447016ba2ba5660b&oe=57998C5B&__gda__=1471018470_30d5d66207681ca6d102fccd36e9cdaa",
"psid" : "1001926753195404",
"channel" : "fb",
"fetchedOn" : 1462965641532,
"userId" : "9999",
"masterProfile" : "FEBevFFFty_cFF_1",
"ts" : "2016-05-11T12:20:41.588"
}
{
"timestamp" : "1462965407306",
"message" : "#stop 9999",
"appId" : "a_635976383451066118",
"tenant" : "1",
"event" : "OnProfileUpdate",
"name" : "JHON ",
"tid" : "acbd8123-cc59-4e27-ad9e-05855e8a0006_0",
"profile_pic" : "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/p200x200/12074700_976214455775226_4021411023144234580385_n.jpg?oh=e4e9163a4e58f8b7447016ba2ba5660b&oe=57998C5B&__gda__=1471018470_30d5d66207681ca6d102fccd36e9cdaa",
"psid" : "1291978510867867830637",
"channel" : "fb",
"fetchedOn" : 1462965409988,
"userId" : "9999",
"masterProfile" : "FEBevFFFty_cFF_1",
"customerId" : "9999",
"ts" : "2016-05-11T04:46:55.889"
}
{
"userId": "$(customerId)",
"channel": "Facebook",
"appId": "$(appId)",
"event": "$(event)",
"fb_conversation_id": "$(fb_conversation_id)",
"ts": "$(ts)",
"tid": "$(tid)"
}
{
"userId": "$(customerId)",
"channel": "Facebook",
"appId": "$(appId)",
"event": "$(event)",
"fb_conversation_id": "$(fb_conversation_id)",
"ts": "$(ts)",
"tid": "$(tid)"
}
WeChat
{
"gender":1,
"appId":"a_635907311591987419",
"remark":"",
"nick":"Mark",
"weChatAppId":"gh_a5e722e38052",
"wechat_user_id":"o8E7mwW4xDfosAJpShA7nbC_MhGc",
"subscribe_time":1448280279,
"country":"India",
"city":"",
"message":"#start 1889",
"subscribe":1,
"tenant":"1",
"event":"OnProfileCreate",
"province":"Hyderabad",
"openid":"o8E7mwW4xDfosAJpShA7nbC_MhGc",
"tid":"c2ad249f-4e37-462a-a445-bb67553c10f3",
"language":"en",
"groupid":0,
"headimgurl":"http://wx.qlogo.cn/mmopen/jI3SCA66suuC8iazZEsicxA4TRVq7QsjBag50D1XRQ3uLfpAVkFqnLNlNuxY30icSVyCxQKOTs2S7n5J2kj9z5cGxfpliaSTqzVx/0",
"channel":"wechat",
"userId":"1889",
"masterProfile":"IMI41Sprint2_cpms_1"
}
{
"message":"#stop",
"appId":"a_635907311591987419",
"tenant":"1",
"event":"OnProfileUpdate",
"weChatAppId":"gh_a5e722e38052",
"tid":"522beaf8-16f2-4cdf-8f84-1eee64bc8614",
"channel":"wechat",
"wechat_user_id":"o8E7mwW4xDfosAJpShA7nbC_MhGc",
"masterProfile":"IMI41Sprint2_cpms_1",
"customerId":"1889"
}
Twitter
{
"message": "#start 9005",
"appId": "a_635984734439750052",
"geolocation": "",
"tenant": "1",
"twitterid": 714351716817199105,
"event": "OnProfileCreate",
"twitter_handle": "imimahireddy",
"tid": "a272f06d-2fa2-49cc-a0bd-0cb47dc86564",
"channel": "twitter",
"twitter_name": "IMI Mahi",
"fetchedOn": 1463554926486,
"userId": "9005",
"masterProfile": "UKREG42_cpms_1",
"ts": "2016-05-18T08:02:06.730"
}
{
"appId": "a_635971793736620324",
"ts": "2016-05-18T12:25:37.496",
"twitterid": 3223165326,
"twitter_handle": "wsophyd3",
"masterProfile": "IMI41Sprint2_cpms_1",
"twitter_name": "Jack",
"message": "#stop 8953",
"customerId": "8953",
"tenant": "1",
"event": "OnProfileUpdate",
"userId": "8953",
"fetchedOn": 1463554537496,
"tid": "f425125f-a44c-4c92-aa56-deca799dcbe5",
"channel": "twitter"
}
Updated almost 5 years ago