Teleduce API
Missed call campaign creation API
Description
Create missed call campaign via HTTP API request.
URL format
https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=<Customer name>&campaign=<campaign name>&from_validity=<from validity date>&to_validity=<to validity date>
Sample
https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=Nehaparashar&campaign=c6011&from_validity=2016-07-06 10:10&to_validity=2016-08-08 10:20
If you want to create campaign for specific inbound number then you should need to mention the inbound number in API
URL format
https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=<Customer name>&campaign=<campaign name>&from_validity=<from validity date>&to_validity=<to validity date>&inbound_number=<Inbound number>
Sample
https://teleduce.corefactors.in/missedcall/create/campaign/api/?customer=Nehaparashar&campaign=c6011&from_validity=2016-07-06 10:10&to_validity=2016-08-08 10:20&inbound_number=67519025
Parameters
Parameters | Description |
<customer> | Specify the customer name.Stores valid customer name to access HTTP API service |
<campaign> | Specify the campaign name for better identification |
<from_validity> | Specify the from_validity.Stores valid date to access HTTP API service |
<to_validity> | Specify the to_validity.Stores valid date to access HTTP API service |
<Inbound number> | Specify the Inbound number.Stores valid Inbound number to access HTTP API service |
Response Codes
S.NO | Codes | Response |
1 | 10 | Campaign name already exist. |
2 | 20 | Invalid user account. Not associated with any missed call |
3 | 30 | Email ID should not empty |
4 | 40 | Enter valid Email ID |
5 | 50 | Mobile number should not empty |
6 | 60 | Enter Valid mobile number |
7 | 70 | Notification time line should not empty |
8 | 80 | Campaign name should not be empty |
9 | 90 | From validity should be less then to validity |
10 | 100 | Invalid from validity format. Format should be 1990-08-22 10:10 |
11 | 110 | Invalid to validity format. Format should be 1990-08-22 10:10 |
12 | 120 | Campaign already exists with this date to this inbound number |
13 | 130 | Campaign already exists with this date or request more missed call numbers from your account manager |
14 | 200 | Campaign created |
Webhook for API:
Webhook format:
Sample URL:
https://teleduce.corefactors.in/teleduce/QueueHandle/upload/
Passing Parameters with webhook URL:
Sample:
Parameters that we are passing to your webhook URL:
Parameters | Description |
operator | Defined the from_number operator(eg: Airtel, Aircel,Vodafone etc) |
inbound_number | Defined the customer inbound number |
circle_name | Defined the state of the from_ number |
from_number | Defined the received number who given a missed call |
request_id | Each missed call have a unique ID to give a request for webhook |
If following codes is received, please report to us, so we can help you better.
For any support required on API. Please write to support@corefactors.in.