CRM Agent App API Document

Login
Last Updated : 2020-06-24 13:05:35

Request
Method : POST

http://192.168.1.47/crm/caller/agentapi/login

Headers

Content-Type:application/json
Autherization:Basic token 

Request Body

{
"userName":""
"userPassword":""
"IMEI":""
"Longitude":""
"Latitude":""
"DeviceId":""
} 

Response Body
Status : Not Acceptable
Status Code : 406

{
    "status": "0",
    "msg": "Agent Name or password is wrong"
} 

Log Out Agent
Last Updated : 2020-06-24 13:26:06

Request
Method : POST

http://192.168.1.47/crm/caller/agentapi/logoutagent

Headers

Content-Type:application/json
Autherization:Basic Token 

Request Body

{
UserName:""
} 

Response Body
Status :
Status Code :

{
    "status": "0",
    "msg": "token did not match."
} 

Change Password
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.47/crm/caller/agentapi/changepassword

Headers

Content-Type:application/json
Autherization:Basic Token 

Request Body

{
"oldPassword":""
"newPassword":""
"userName":""
} 

Response Body
Status :
Status Code :

 

Ready
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.47/crm/caller/agentapi/ready

Headers

Content-Type:application/json
Autherization:Basic Token 

Request Body

{
"exten":"",
"userName":"",
} 

Response Body
success :
message :

 

Manual Dial
Last Updated : 2020-06-24 13:26:06

Request
Method : POST

http://192.168.1.15/masterapi/manualdial
Content-Type:application/json
Autherization:Basic Token 

Request Body

{
"phoneNo":"",
"userName":"",
} 

Response Body
Status :
Status Code :

 

Check DND
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

https://dnd.sansoftwares.com/api/filter-getdndstatus

Headers

Content-Type:application/json 

Request Body

{
    "email":"support@sansoftwares.com",
    "apiKey":"38d15e4d2f76753bb3d4f55a796b2e7f",
    "phoneNoList": ["9810610735"]
} 

Response Body
Status :
Status Code :

 

Wrapup
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/wrapup

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":""
} 

Response Body
Status :
Status Code :

 

Get Call Back
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/getcallback

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":""
} 

Response Body
Status :
Status Code :

 

Get Next Call
Last Updated : 2020-06-24 13:26:06

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/getnextcall

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":""
} 

Response Body
Status :
Status Code :

 

Start Break
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/startbreak

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":"",
"BreakName":""
} 

Response Body
Status :
Status Code :

 

Save Call
Last Updated : 2020-06-24 13:02:39

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/savecall

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

Complete Form data
{ "userName":"", } 

Response Body
Status :
Status Code :

 

Search Phone No
Last Updated : 2020-06-24 15:53:16

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/searchphoneno

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":""
"phoneNo":""
} 

Response Body
Status :
Status Code :

 

Hangup
Last Updated : 2020-06-24 15:53:16

Request
Method : POST

http://192.168.1.15/crm/caller/agentapi/getcallback

Headers

Content-Type:application/json
Autherization:Basic f55b5a7b424a5c9e547fb00be8d9ca05 

Request Body

{
"userName":""
} 

Response Body
Status :
Status Code :