method | M | Text | ImportProcessData | Unique Command for JSON Request. (This method value will not be changed) |
apikey | M | Text | test_org | Unique key map to the organization. (This API key will change according to client organisation) |
servicekey | M | Text | VoiceProcess | Unique key map to the process. (This service key will change according to client process) |
media | M | Text | 11 | Media for the received data. (like 1=Email In 2=Email Out 3=SMS In 4=SMS Out 8=Chat 11=Voice In 12=Voice Out 21=Social-Twitter 22=Social-Facebook 31=Video) Refer table below for Media Information values |
data | M | Text | [ { "leadnumber":"1" "name":"Ram" "mobilenumber":"1234567890" "emailid":"v@avhan.com" "callDateTime":"2018-06-20 09:07:00" "calltype":"71" "dateofleadcreation":"2012-02-22" "timeofleadcreation":"12:00:00" "extrafield1":"1" "extrafield2":"2" "extrafield3":"3" }, { "leadnumber":"2" "name":"abc" "mobilenumber":"1234567891" "emailid":"v1@avhan.com" "callDateTime":"2018-06-20 09:07:00" "calltype":"41" "dateofleadcreation":"2012-02-22" "timeofleadcreation":"12:00:00" "extrafield1":"11" "extrafield2":"21" "extrafield3":"31" } ] | Customer data in JSON Array ( It requires mobile number, name, emailid, etc.) |
updateparam | M | Text | Mobilenumber/customercode/crmuniquefield | The parameter used for data check to update and insert data. (like Mobilenumber or customercode or crmuniquefield) |
reqdatetime | M | Text | 2018-11-12 14:00:05 | Date and Time of the request.(Date format: YYYY-MM-DD hh:mm:ss) |
Data Array optional parameters | | | | |
Calltype | O | | 5 | Refer table below for calltype values |
userlogin | O | | test@avha.com | Valid login id which exists in Jodo Platform |