Push Data

Author: Salman Pathan 155 views

Purpose:

This function is used to push customer data to Jodo Application.
If Media is voice & contact Number is valid, data push for dialing.

Pre-requisite for TTS
Status :: 10500 → After TTS covert, status changed to 1001
TTS web hook need to map with Process + Data Import event
TTS Web Hook :: Commercial service and need separate subscription.

Use Cases:

Initiate and handle customer call from CRM / Business Application screen:

Start Call in Jodo Platform for specific contact data on click (or as a background trigger) by CRM / Business application.
This can also be used in case of Click-to-call campaigns across multiple media.

Incoming calls screen-pop as response to multi-media campaigns from external platforms (mostly useful in Marketing Automation driven SMS / Email Marketing Campaigns)

External platform can use API to send customer data into Jodo Call guide before scheduled campaign time and agents will get a screen pop-up in Jodo Call Guide.

Make Multi-lingual calls using Automated voice (Engineered voice) via Text to Speech Engine

(Jodo Messenger Dialer integrated with Cloud TTS Service. E.g., Google / Amazon etc.)

  • In this case Jodo receives Customer First Name & Last Name via Push API in real-time.
  • Jodo pushes data to target TTS Engine API. (User defined in configuration)
  • After TTS API response received, Jodo dials contact number passed in request and start interactive message flow at scheduled time.

User Input Parameters:

Multiple trunks handle prefix for domestic and international calling differently and based on the Trunks used in your operations you will need to standardise the data in your applications with the appropriate prefix.
e.g., GSM trunks / Gateways can process + for international dialing as a prefix while TELCO trunks need you to assign 00 as prefix for international dialing. Similarly domestic dialing code prefix may be different in parts of the world.

Developer should replace + with dialing prefix based on trunk configuration

Output Parameters:

Return Value:
This API returns one of responses listed below in JSON format.

Request with updateparam mobilenumber:

				
					{
"method":"ImportProcessData",
"reqdatetime":"2018-11-12 14:00:05",
"servicekey":"VoiceProcess",
"apikey":"test_org",
"media":"11",
"updateparam":"mobilenumber",
"data"
[

{ "fname":"suvarna", "lname":"gadakh",
"mobilenumber":"00918452892308",
"extra_params":"xyz",
"call_type":"5"},
{ "fname":"suvarna", "lname":"gadakh",
"mobilenumber":"00918452892308",
"extra_params":"xyz",
"call_type":"5"}

]
}
				
			

Request with updateparam  customercode:

				
					{
"method":"ImportProcessData",
"reqdatetime":"2018-11-12 14:00:05",
"servicekey":"process1",
"apikey":"MsQgi5/gKVZusW5XziRf76nHbn9JxU4VDSWwongD5dU=",
"media":"11",
"updateparam":"customercode",
"data"
[
{
"leadnumber":"1"
"customercode":"1"
"name":"Ram",
"mobilenumber":"1234567890"
"emailid":"v@avhan.com"
},
{
"leadnumber":"2"
"customercode":"2"
"name":"abc"
"mobilenumber":"1234567891"
"emailid":"v1@avhan.com"
}
]
}
				
			

Request with updateparam crmuniquefield:

				
					{
"method":"ImportProcessData",
"reqdatetime":"2018-11-12 14:00:05",
"servicekey":"process1",
"apikey":"MsQgi5/gKVZusW5XziRf76nHbn9JxU4VDSWwongD5dU=",
"media":"11",
"updateparam":"crmuniquefield",
"data"
[
{
"leadnumber":"1",
"customercode":"1",
"name":"Ram",
"mobilenumber":"1234567890",
"emailid":"v@avhan.com",
"callDateTime":"2018-06-20 09:07:00",
"calltype":"71",

},
{
"leadnumber":"2",
"customercode":"2",
"name":"abc",
"mobilenumber":"1234567891",
"emailid":"v1@avhan.com",
"callDateTime":"2018-06-20 09:07:00",
"calltype":"41",

}
]
}
				
			

ImportProcessData JSON Response

				
					{
"method":"ImportProcessData",
"resdatetime":"2018-11-12 14:00:05",
"statuscode":"001",
"statusdesc":"success"
}
				
			

ImportProcessData JSON Fail Response

				
					{
"method":”ImportProcessData”,
"revisionno":"1",
"status":5,
"statusdesc":"fail",
"resdatetime":"2018-11-12 14:00:05"
}
				
			

Status Code Information

CALL Type Code Information

Media type: