Reallocate Data
Author: Salman Pathan
341 views
Purpose:
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:
Node | M/O | Data type size | Value | Description |
---|---|---|---|---|
method | M | Text | Reallocatedata | Unique Command for JSON Request. (This method value cannot be changed) |
apikey | M | Text | test_org | Unique key assigned to an organisation. (API key will change according to client organisation) |
servicekey | M | Text | VoiceProcess | Unique key assigned to the process. (Service key will change according to client process) |
contactnumber | M | Text | 7507959484 | User contact number. (e.g. Phone number or Mobile number) |
login | M | Text | Tanmay.k@dev1 | Reassign login (needs email ID) |
calldatetime | O | Text | 2018-11-10 09:00:00 | Call Date and Time |
customercode | O | Integer | Unique customer code | |
reqdatetime | M | Text | 2018-11-12 14:00:05 | Date and Time of the request. (Date format: YYYY-MM-DD hh:mm:ss) |
Output Parameters:
Node | Value | Description |
---|---|---|
method | reallocatedata | Command for JSON Response |
resdatetime | 2018-11-12 14:00:05 | Date and Time of the response. (Date format: YYYY-MM-DD hh:mm:ss) |
status | 001 | Refer the status parameter table |
statusdesc | success | Status parameter description |
Return Value:
This API returns in one format I.e., JSON format.
Reallocate data JSON Request
{
"method":"reallocatedata",
"apikey":"test_org",
"servicekey":"VoiceProcess",
"contactnumber":"7507959484",
"login":"tanmay.k",
"calldatetime":"2018-11-10 09:00:00",
"customercode":0,
"reqdatetime":"2018-11-12 14:00:05"
}
Reallocate data JSON Response
{
"method":"reallocatedata",
"statuscode":"001",
"resdatetime":"2018-11-12 14:00:05",
"statusdesc":"Success"
}
Reallocate data JSON Fail Response
{
"method":”reallocatedata”,
"revisionno":"1",
"status":5,
"statusdesc":"fail",
"resdatetime":"2018-11-12 14:00:05"
}
Status Code Information
Status | Status Description |
---|---|
01 | Success |
13 | Tenant Database Not found |
38 | Error while processing |
70 | Contact Number not found |
71 | Contact Number is blank |
72 | Login not found |
73 | Login is blank |
Need Help ? How can we help?
How can we help?
Jodo Help Desk with an integrated Knowledge Base,