Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x_list_chat_sessions_with_consumer_at_pype #1
- SEND
- {
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83",
- "correlation_id": "4833fc08-23da-90ba-f8b5-ce9f94c769b3",
- "reply_to": "eca27099bf7bd83a0c80efa61b71f95a_292cd931-4895-48ed-a994-82dc17f69b83",
- "version": 1,
- "type": "request",
- "auth_token": "QnqqeUjoXyo0hZWF1HTojG9Nen1Fu2mY",
- "request_type": "x_list_chat_sessions_with_consumer_at_pype",
- "request_action": "new",
- "data": {
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "page_num": 1,
- "items_per_page": 24
- }
- }
- MESSAGE
- {
- "version": 1,
- "data": {
- "result_count": 6,
- "items_per_page": 24,
- "page_num": 1,
- "timestamp": 1471895743094046,
- "chat_sessions": [
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "EF8E5DC8-2C4D-46DC-A3A1-82ECFF1A3D8F",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890201,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890220000,
- "campaign_id": null,
- "seq_num": 4,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ddddhhjpprre",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "2252DE0E-7D53-45D3-AADA-FCBD1D8A0256",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.4"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890214000,
- "campaign_id": null,
- "seq_num": 3,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Fffffhh",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "74A8AEB6-A003-481B-A749-252F085FA02A",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.3"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890206000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ccc",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "90A5743F-41E1-4ADE-9A4F-FA93FB1AA4EF",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890201000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "We're",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "DA47E991-FA2B-4F6F-B4AB-F4A87801ADE8",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.1"
- }
- }
- ],
- "seq_num": 4,
- "timestamp": 1471890201000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "News",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "EF8E5DC8-2C4D-46DC-A3A1-82ECFF1A3D8F",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890201,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890220000,
- "campaign_id": null,
- "seq_num": 4,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ddddhhjpprre",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "2252DE0E-7D53-45D3-AADA-FCBD1D8A0256",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.4"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890214000,
- "campaign_id": null,
- "seq_num": 3,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Fffffhh",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "74A8AEB6-A003-481B-A749-252F085FA02A",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.3"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890206000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ccc",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "90A5743F-41E1-4ADE-9A4F-FA93FB1AA4EF",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890201000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "We're",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "DA47E991-FA2B-4F6F-B4AB-F4A87801ADE8",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.1"
- }
- }
- ],
- "seq_num": 4,
- "timestamp": 1471890201000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "News",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "6A1C02A7-0A16-435B-A2DE-25FBE80D09D2",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890229,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890616000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Smashes",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "CE5350A8-6754-407E-92AF-D755C55543AD",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890229000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ghosh shave",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "37181EEE-295F-436F-834E-EDD791674512",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.1"
- }
- }
- ],
- "seq_num": 2,
- "timestamp": 1471890229000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Support",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "6A1C02A7-0A16-435B-A2DE-25FBE80D09D2",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890229,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890616000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Smashes",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "CE5350A8-6754-407E-92AF-D755C55543AD",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890229000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ghosh shave",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "37181EEE-295F-436F-834E-EDD791674512",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.1"
- }
- }
- ],
- "seq_num": 2,
- "timestamp": 1471890229000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Support",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "850A56F3-0533-4A72-9EA6-46B59C224BA8",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": "292cd931-4895-48ed-a994-82dc17f69b83",
- "end_ts": 1471894805,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890711,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "ended",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471890711000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Shahs has",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "037e7c40-ced4-4842-b017-e7df259dd2da",
- "msg_action": "new",
- "client_msg_id": "E098577C-5A04-48D7-A116-92AAFA61C852",
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471890711000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "3F9306F6-43EA-4EEF-9CA2-EC8E98927110",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471894828,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471894828000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Www",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a",
- "msg_action": "new",
- "client_msg_id": "8AA55ABF-3ADE-40A2-8292-83A802840676",
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471894828000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a"
- }
- ]
- },
- "source_action": "new",
- "correlation_id": "4833fc08-23da-90ba-f8b5-ce9f94c769b3",
- "detail": "list_chat_sessions_with_consumer_at_pype",
- "resp_details": null,
- "resp_status": null,
- "type": "response"
- }
- x_list_chat_sessions_with_consumer_at_pype #2
- SEND
- {
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83",
- "correlation_id": "2e55f021-9e4b-a4d6-2f8a-5f2317959a04",
- "reply_to": "eca27099bf7bd83a0c80efa61b71f95a_292cd931-4895-48ed-a994-82dc17f69b83",
- "version": 1,
- "type": "request",
- "auth_token": "QnqqeUjoXyo0hZWF1HTojG9Nen1Fu2mY",
- "request_type": "x_list_chat_sessions_with_consumer_at_pype",
- "request_action": "new",
- "data": {
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "page_num": 1,
- "items_per_page": 24
- }
- }
- MESSAGE
- {
- "version": 1,
- "data": {
- "result_count": 4,
- "items_per_page": 24,
- "page_num": 1,
- "timestamp": 1471896159987060,
- "chat_sessions": [
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "850A56F3-0533-4A72-9EA6-46B59C224BA8",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": "292cd931-4895-48ed-a994-82dc17f69b83",
- "end_ts": 1471894805,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890711,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "ended",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471890711000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Shahs has",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "037e7c40-ced4-4842-b017-e7df259dd2da",
- "msg_action": "new",
- "client_msg_id": "E098577C-5A04-48D7-A116-92AAFA61C852",
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471890711000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "3F9306F6-43EA-4EEF-9CA2-EC8E98927110",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471894828,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471894828000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Www",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a",
- "msg_action": "new",
- "client_msg_id": "8AA55ABF-3ADE-40A2-8292-83A802840676",
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471894828000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "EF8E5DC8-2C4D-46DC-A3A1-82ECFF1A3D8F",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890201,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890220000,
- "campaign_id": null,
- "seq_num": 4,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ddddhhjpprre",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "2252DE0E-7D53-45D3-AADA-FCBD1D8A0256",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.4"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890214000,
- "campaign_id": null,
- "seq_num": 3,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Fffffhh",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "74A8AEB6-A003-481B-A749-252F085FA02A",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.3"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890206000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ccc",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "90A5743F-41E1-4ADE-9A4F-FA93FB1AA4EF",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890201000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "We're",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "DA47E991-FA2B-4F6F-B4AB-F4A87801ADE8",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.1"
- }
- }
- ],
- "seq_num": 4,
- "timestamp": 1471890201000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "News",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "6A1C02A7-0A16-435B-A2DE-25FBE80D09D2",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890229,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890616000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Smashes",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "CE5350A8-6754-407E-92AF-D755C55543AD",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890229000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ghosh shave",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "37181EEE-295F-436F-834E-EDD791674512",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.1"
- }
- }
- ],
- "seq_num": 2,
- "timestamp": 1471890229000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Support",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6"
- }
- ]
- },
- "source_action": "new",
- "correlation_id": "2e55f021-9e4b-a4d6-2f8a-5f2317959a04",
- "detail": "list_chat_sessions_with_consumer_at_pype",
- "resp_details": null,
- "resp_status": null,
- "type": "response"
- }
- x_list_chat_sessions_with_consumer_at_pype #3
- SEND
- {
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83",
- "correlation_id": "189e3822-85a4-253b-e290-7c41453653fb",
- "reply_to": "eca27099bf7bd83a0c80efa61b71f95a_292cd931-4895-48ed-a994-82dc17f69b83",
- "version": 1,
- "type": "request",
- "auth_token": "QnqqeUjoXyo0hZWF1HTojG9Nen1Fu2mY",
- "request_type": "x_list_chat_sessions_with_consumer_at_pype",
- "request_action": "new",
- "data": {
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "page_num": 1,
- "items_per_page": 24
- }
- }
- MESSAGE
- {
- "version": 1,
- "data": {
- "result_count": 4,
- "items_per_page": 24,
- "page_num": 1,
- "timestamp": 1471896251558835,
- "chat_sessions": [
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "850A56F3-0533-4A72-9EA6-46B59C224BA8",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": "292cd931-4895-48ed-a994-82dc17f69b83",
- "end_ts": 1471894805,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890711,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "ended",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471890711000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Shahs has",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "037e7c40-ced4-4842-b017-e7df259dd2da",
- "msg_action": "new",
- "client_msg_id": "E098577C-5A04-48D7-A116-92AAFA61C852",
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471890711000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "037e7c40-ced4-4842-b017-e7df259dd2da"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "3F9306F6-43EA-4EEF-9CA2-EC8E98927110",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471894828,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Promotions"
- },
- "timestamp": 1471894828000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Www",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a",
- "msg_action": "new",
- "client_msg_id": "8AA55ABF-3ADE-40A2-8292-83A802840676",
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a.1"
- }
- }
- ],
- "seq_num": 1,
- "timestamp": 1471894828000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Promotions",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_572760a0-270d-4637-bf47-3b5d36f0a4be",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "bc23ad43-f214-40d7-8e95-9973e0ebe52a"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "EF8E5DC8-2C4D-46DC-A3A1-82ECFF1A3D8F",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890201,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890220000,
- "campaign_id": null,
- "seq_num": 4,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ddddhhjpprre",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "2252DE0E-7D53-45D3-AADA-FCBD1D8A0256",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.4"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890214000,
- "campaign_id": null,
- "seq_num": 3,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Fffffhh",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "74A8AEB6-A003-481B-A749-252F085FA02A",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.3"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890206000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ccc",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "90A5743F-41E1-4ADE-9A4F-FA93FB1AA4EF",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "News"
- },
- "timestamp": 1471890201000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "We're",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "027f4848-4947-443f-8d1b-09dcc53f8702",
- "msg_action": "new",
- "client_msg_id": "DA47E991-FA2B-4F6F-B4AB-F4A87801ADE8",
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702.1"
- }
- }
- ],
- "seq_num": 4,
- "timestamp": 1471890201000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "News",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_1de9741d-533c-4308-a1a0-dfd9fe581011",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "027f4848-4947-443f-8d1b-09dcc53f8702"
- },
- {
- "last_updated": null,
- "user_read_counts": [
- {
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "min": 0,
- "max": 0
- }
- ],
- "original_request": {
- "gateway": null,
- "data": {
- "initial_message": null,
- "originating_side": "consumer",
- "agent": null,
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "campaign_id": null,
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "id": null
- },
- "version": 1,
- "auth_token": "aRXc1c42ADwjLf2MHdW8x69MLYOrLoem",
- "reply_to": "06151E5F-40F4-41F6-9941-AC72FA86ACF1-A58BDDE70C56602938650068FE9F607D",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "correlation_id": "6A1C02A7-0A16-435B-A2DE-25FBE80D09D2",
- "request_action": "new",
- "request_type": "x_chat",
- "type": "request"
- },
- "end_comment": null,
- "ended_by": null,
- "end_ts": null,
- "end_tags": null,
- "agent_response_ts": null,
- "start_ts": 1471890229,
- "to_be_migrated": false,
- "version": null,
- "read_receipts": [],
- "delivery_receipts": [],
- "status": "active",
- "island_id": null,
- "history": [
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890616000,
- "campaign_id": null,
- "seq_num": 2,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Smashes",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "CE5350A8-6754-407E-92AF-D755C55543AD",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.2"
- }
- },
- {
- "chat_msg": {
- "metadata": {
- "from_name": "David Young",
- "pype_name": "stagepype1@example.com",
- "stream_name": "Support"
- },
- "timestamp": 1471890229000,
- "campaign_id": null,
- "seq_num": 1,
- "app_object": null,
- "msg_type": "text",
- "file_status": "uploading",
- "file": null,
- "msg": "Ghosh shave",
- "from_side": "consumer",
- "from": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "chat_id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6",
- "msg_action": "new",
- "client_msg_id": "37181EEE-295F-436F-834E-EDD791674512",
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6.1"
- }
- }
- ],
- "seq_num": 2,
- "timestamp": 1471890229000,
- "originating_side": "consumer",
- "originator_name": "David Young",
- "originator_user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "initiating_side": null,
- "initial_msg": null,
- "participant_history": [
- {
- "action": "added",
- "participant_type": "agent",
- "user_id": "292cd931-4895-48ed-a994-82dc17f69b83"
- },
- {
- "action": "added",
- "participant_type": "consumer",
- "user_id": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- }
- ],
- "participants": {
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586"
- },
- "campaign_id": null,
- "stream_name": "Support",
- "pype_name": "stagepype1@example.com",
- "stream_id": "stream_deebdd12-8200-4012-b4af-ed7f04336501",
- "pype_id": "pype_95d029ff-5884-478a-801b-53b6c29ba65d",
- "bot_name": null,
- "agent_name": "agent1 ln",
- "consumer_name": "David Young",
- "bot": null,
- "agent": "292cd931-4895-48ed-a994-82dc17f69b83",
- "consumer": "user_75f64209-3cdb-4db4-a4c8-9ff6137f2586",
- "agent_is_assigned": true,
- "bot_enabled": false,
- "id": "7260ddbf-fb62-4466-ad2d-fbbc5eebeaa6"
- }
- ]
- },
- "source_action": "new",
- "correlation_id": "189e3822-85a4-253b-e290-7c41453653fb",
- "detail": "list_chat_sessions_with_consumer_at_pype",
- "resp_details": null,
- "resp_status": null,
- "type": "response"
- }
Add Comment
Please, Sign In to add comment