Reallocate Data

Author: Salman Pathan 244 views


This function is used to reallocate data or tasks to a particular user.

Use Case:

Reallocate data when a user is absent or has left organization and will not be able to handle scheduled calls.
In such cases, data needs to be reallocated to other Jodo users to meet the scheduled call goal.
Option to reallocate data should be added to CRM / Business application.

User Input Parameters:

NodeM/OData type sizeValueDescription
methodMTextReallocatedataUnique Command for JSON Request. (This method value cannot be changed)
apikeyMTexttest_orgUnique key assigned to an organisation. (API key will change according to client organisation)
servicekeyMTextVoiceProcessUnique key assigned to the process. (Service key will change according to client process)
contactnumberMText7507959484User contact number. (e.g. Phone number or Mobile number)
loginMTextTanmay.k@dev1Reassign login (needs email ID)
calldatetimeOText2018-11-10 09:00:00Call Date and Time
customercodeOIntegerUnique customer code
reqdatetimeMText2018-11-12 14:00:05Date and Time of the request. (Date format: YYYY-MM-DD hh:mm:ss)

Output Parameters:

methodreallocatedataCommand for JSON Response
resdatetime2018-11-12 14:00:05Date and Time of the response. (Date format: YYYY-MM-DD hh:mm:ss)
status001Refer the status parameter table
statusdescsuccessStatus parameter description

Return Value:

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

Reallocate data JSON Request

"calldatetime":"2018-11-10 09:00:00",
"reqdatetime":"2018-11-12 14:00:05"

Reallocate data JSON Response

"resdatetime":"2018-11-12 14:00:05",

Reallocate data JSON Fail Response

"resdatetime":"2018-11-12 14:00:05"

Status Code Information

StatusStatus Description
13Tenant Database Not found
38Error while processing
70Contact Number not found
71Contact Number is blank
72Login not found
73Login is blank