API URL:
https:// voiptech.pri /API/Reports.php
Example:
https:// voiptech.pri /API/Reports.php?username=XXXX&password=XXXX&org=XXXX&exten=XXXX&
fromdate=YYYY-MM-DD&todate=YYYY-MM-DD&action=XXXX
This API allows you to perform the following operations:
- Get CDR & billing reports to current organization and a specific and/or all organization for the admin.
- Get calls report to specific number within defined start and end date.
Option to send request:
- GET
- POST
Response format (Response parameter must set to yes):
- Text/HTML (default)
- XML
- JSON
The same URL is available also as HTML format
Optional parameters:
Demand | Description | Parameter |
Mandatory | User name in the system | username |
Mandatory | User password | password |
Mandatory | Organization name Available parameters: |
Empty – display all organizations (just for the manager)
Organization name – display just this organization reportorgMandatoryReport start datefromdateOptionalReport end datetodate
Mandatory
Report type
Available parameters:
Billing – Provide billing report
Billing-full – Provide full billing report per destination
cdr – Provide Call detailed report (CDR) – only in json format
actionOptional
Call unique ID
With this field the report action will be just for this call identification.
idOptional
Report format
Available parameters:
html – browser display
csv – textual format to use for excel
json – textual format
format
- Get call report
API URL:
https:// voiptech.pri /API/cdr.php
Example:
https:// voiptech.pri /API/cdr.php?id=XXXX
This API allows you to perform the following operations:
- Get specific call report
- Get call report without addition authentication.
Option to send request:
- GET
- POST
Response format (Response parameter must set to yes):
- Text/HTML (default)
- XML
- JSON
Available parameters
Demand | Description | Parameter |
Mandatory | Call Identification number (Unique ID) | id |