Delacon's Billing API allows customers to download a CSV file with the charges per call for a specific day or a specific month, separately to the monthly billing statement. This API is accessible through any web browser or can be configured in a system that can access a URL and download the file output.
- For call charges for a specific day:
https://pla.delaconcorp.com/site/webui/billing/dailycalls?date=20/04/2021&mid=1000
- For call charges for a specific month:
https://pla.delaconcorp.com/site/webui/billing/monthlycalls?month=04-2021&mid=1000
The parameters that need to be updated are;
- date or month - The required date or month for the report
- mid - The required MID for the report
The CSV file that is generated will contain the following fields in the order below:
pkey_in | The unique Delacon Call ID |
Dial From | The callers phone number |
Geo origin | The callers location (for calls from website only) |
1300 No | The number the caller dialled/ The Delacon tracking Number |
Transferred No | The number the call was transferred to/answered by |
Date/Time | The date and time of the call |
Result | Whether the call was answered, unanswered or busy |
Dealer ID | The Business Phone Number associated with the campaign |
Time(sec) | The time the call was connected to the Termination Number |
Inbound Time(sec) | The total inbound duration of the call |
Voice Mail Left | Whether a voicemail message was left |
Call Charges | Supplementary charges for the call (in addition to Inbound Charges) |
Inbound Charges | Base charges for the call |
Call Type | Whether the call was connected to a landline or mobile Termination number |
Setup
Please note, below limitations before proceeding:
- While using the API key to authorise the request, the password of the main account login will still need to be valid. API report requests for accounts with an expired password will not be processed.
Setting up a HTTP request
Below steps are based on using Postman as an API platform for building and using APIs. You may choose a different tool, but the steps will be similar.
Step 1
Download the Postman app: https://www.postman.com/
Step 2
Click on "new" and select HTTP request on the next screen
Step 3
Set the request to post and add https://pla.delaconcorp.com/site/webui/billing/dailycalls or https://pla.delaconcorp.com/site/webui/billing/monthlycalls as the address from which to request the report.
Step 4
Navigate to the "Headers" tab and add your Delacon API key. This API key is used to authenticate access to your Delacon account.
Please click here for the instructions on obtaining your API key from the Delacon portal.
In the Key field, type in "Auth".
In the Value field, add the API key from your Delacon portal.
Step 5
Navigate to the "Params" tab and add the required parameters:
- date (for single day report only)
- month (for monthly report only)
- mid
The system will automatically start building the request string URL, which may look like this:
https://pla.delaconcorp.com/site/webui/billing/monthlycalls?month=07-2024&mid=1143
Step 6
Once you have added all parameters, click on "Send" or "Send and Download" to get the report.
Comments
0 comments
Please sign in to leave a comment.