Current Status

Author: Salman Pathan 125 views

Purpose:

Used to obtain real-time status of Jodo users.
Also, used to allocate data after check user status.

Use Case:

This API is used by CRM / Business Application to get real-time status of Jodo user.
It should be called before call disposition API.
Based on status, CRM / Business Application can take next action – push new data for processing / calling.

User Input Parameters:

Output Parameters:

Return Value:

This API returns in one format I.e. JSON format.

JSON Request

				
					{
 "method":"userStatus",
 "apikey":"test_org",
 "servicekey":"VoiceProcess",
 "loginids":["rupesh.v@avhan.com","user10"],
"reqdatetime": "2017-11-20 10:00:05"
}				
			

JSON Response

				
					{ "statusdata":[
{"duration":100,"currentstatus":1,
"currentstatusdesc":"Ready",
"statuschangetime":"07-Mar-19 11:59:59 PM", "login":"user1","statusdesc":"Success","status":3}
{"duration":11,"currentstatus":11,
"currentstatusdesc":"System Sent NA",
"statuschangetime":"07-Mar-19 11:59:59 PM", "login":"user10","statusdesc":"Success","status":3}
],
 "method":"userStatus",
 "timestamp":"2019-03-08 11:53:02"
 }				
			

User Status Code Information