# Report
# Report List
The request for the list of all currently configured reports for current user. This list does not contain the reports which not supported in current API version. For more information about the API version see here. The returned list only includes reports for which the current user is licensed to run.
# Request
# Endpoint
https://host/CCS/API/v1/admin/report
| URL Specs | Description |
|---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
| Key | Sample Value | Description |
|---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie or x-api-key header is required for authentication.
# Path Parameters:
There are no path parameters.
# Query Parameters:
There are no query parameters.
# Request Body
There is no request body.
# Response
The response contain the list of report items that represents configured reports for corresponding user.
# Success
With 200 HTTP Status Code:
[
{
"ID": "037aa2f4d69de9b2:7b46ab7e:16da5f5af94:-7faa",
"Type": 21,
"Description": "ACD Agent List",
"IsLicensed": true
},
{
"ID": "037aa2f4d69de9b2:7b46ab7e:16da5f5af94:-7fba",
"Type": 0,
"Description": "Active Contact List",
"IsLicensed": true
},
{
"ID": "037aa2f4d69de9b2:7b46ab7e:16da5f5af94:-7fb8",
"Type": 100,
"Description": "Desktop Wallboard",
"IsLicensed": true
}
]
# Error
For more information on error codes, see Error Codes.
# Field Descriptions:
For more information on field descriptions, see Properties.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Report Execution And Data Retrieval
The request for report execution and data retrieval. If the report is not running, it will be firstly executed. In case of running report the request returns data immediately. The execution can take couple of seconds and during this initialisation period the request will return only the status of execution.
# Request
# Endpoint
https://host/CCS/API/v1/admin/report/{ID}/exec
| URL Specs | Description |
|---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
| Key | Sample Value | Description |
|---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie or x-api-key header is required for authentication.
| Placeholder | Description |
|---|---|
ID | The report identifier retrieved from Report List request. The identifier is a UUID which contains some special characters and therefore the identifier must be URL encoded when it is specified as part of the URL. |
# Parameters:
| Parameter | Description |
|---|---|
rowID | The row ID of the first row to be included in the response. Useful for pagination to define the first row of the current page. The rowsPerPage parameter must also be specified for this parameter to be used.This parameter can only be used with "Historic Call List" and "ACD Acitivity Log" report types. |
rowsPerPage | The number of rows to be included in the response. Useful for pagination to define the numbers of rows to show in the current page. The rowID parameter must also be specified for this parameter to be used.This parameter can only be used with "Historic Call List" and "ACD Acitivity Log" report types. |
# Request Body
There is no request body.
# Response
# Success
With 200 HTTP Status Code:
{
"ID": "037aa2f4d69de9b2:7b46ab7e:16da5f5af94:-7faa",
"Type": 21,
"Description": "ACD Agent List",
"Duration": "REALTIME",
"ExecutionStatus": "WAITING"
}
# Error
For more information on error codes, see Error Codes.
# Field Descriptions:
For more information on field descriptions, see Properties.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Report Execution From Template
The request for executing a report from template. The execution will return the report ID and its execution status.
# Request
# Endpoint
https://host/CCS/API/v1/report/template/{templateID}/telsys/{telsysID}/partition/{partitionID}
| URL Specs | Description |
|---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
| Key | Sample Value | Description |
|---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie or x-api-key header is required for authentication.
| Placeholder | Description |
|---|---|
templateID | The template identifier retrieved from Report List request. The identifier is a UUID which contains some special characters and therefore the identifier must be URL encoded when it is specified as part of the URL. |
telsysID | The telephony server identifier which should be used for generating the report. |
partitionID | The partition ID on telephony server which should be used for generating the report. |
# Parameters:
There are no query parameters.
# Body
There is no request body.
# Response
# Example Of Template Execution Response With 200 HTTP Status Code:
{
"ID": "e967f4c207accc67:72524d4f:18863ca33e2:-7faf",
"Type": 50,
"Description": "TempReport Half Hour Interval Abandoned Calls_1",
"Duration": "X_DAYS_PREVIOUS",
"ExecutionStatus": "WAITING"
}
# Error
For more information on error codes, see Error Codes.
# Field Descriptions:
For more information on field descriptions, see Properties.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Report Execution And Data Retrieval Template
The request for report execution and data retrieval. If the report is not running, it will be firstly executed. In case of running report the request returns data immediately. The execution can take couple of seconds and during this initialisation period the request will return only the status of execution.
# Request
# Endpoint
https://host/CCS/API/v1/report/report/{ID}
| URL Specs | Description |
|---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
| Key | Sample Value | Description |
|---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie or x-api-key header is required for authentication.
| Placeholder | Description |
|---|---|
ID | The report identifier retrieved from Report List request. The identifier is a UUID which contains some special characters and therefore the identifier must be URL encoded when it is specified as part of the URL. |
# Parameters:
There are no query parameters.
# Body
There is no request body.
# Response
# Example Of Report Initialisation Response With 200 HTTP Status Code:
{
"ID": "037aa2f4d69de9b2:7b46ab7e:16da5f5af94:-7faa",
"Type": 21,
"Description": "ACD Agent List",
"Duration": "REALTIME",
"ExecutionStatus": "WAITING"
}
# Error
For more information on error codes, see Error Codes.
# Field Descriptions:
For more information on field descriptions, see Properties.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Report Close
The request for closing an open report. The execution will return an empty response when finished.
# Request
# Endpoint
https://host/CCS/API/v1/report/{ID}
| URL Specs | Description |
|---|---|
protocol | HTTPS is only supported protocol for API as it uses Basic authentication. |
host | Your service instance host. |
method | GET |
# Headers
| Key | Sample Value | Description |
|---|---|---|
Content-Type | application/json | Content type of the request body. |
Cookie | JSESSIONID=<session_id>; | JSessionID for the authentication request. Its optional, if x-api-key is provided. |
x-api-key | <api_key> | API Key for the authentication request. Its optional, if cookie with JSessionID provided. |
Note: Either Cookie or x-api-key header is required for authentication.
| Placeholder | Description |
|---|---|
ID | The report identifier retrieved from Report List request. The identifier is a UUID which contains some special characters and therefore the identifier must be URL encoded when it is specified as part of the URL. |
# Parameters:
There are no query parameters.
# Body
There is no request body.
# Response
Empty response with 200 HTTP status code.
# Error
For more information on error codes, see Error Codes.
# Field Descriptions:
For more information on field descriptions, see Properties.
# Code Snippets
See the following code snippets to help you start with the integration: For more information check the playground here.
# Insights Report Execution And Data Retrieval
The request for the insights report execution and data retrieval, for a particular partition.
# Request
# Endpoint
/report/telsys/{telsysID}/partition/{partitionIDInTelsys}/insights
| Placeholder | Description |
|---|---|
telsysID | The ID number of the Telephony System. |
partitionIDInTelsys | The ID number of the Partition within the Telephony System, or -1 for 'All Partitions' |
# Parameters
There are no query parameters.
# Body
There is no request body.
# Sample URL
https://sampleurl.akixi.com/CCS/API/v1/report/telsys/1/partition/2/insights
# Response
# Example Of Insights Report Response With 200 HTTP Status Code:
{
"QuickInfo": {
"BusiestDay": "Tuesday",
"BusiestTime": "09:00 - 09:30",
"AverageAnswerImprovement": 2,
"MissedCallsImprovement": -1
},
"SummaryInfo": {
"CallsReceived": 51162,
"MissedCalls": 28781,
"AverageAnswerTime": 28,
"AverageAbandonedTime": 290,
"LongestWaitTime": 146
},
"HighlightInfo": {
"MostInboundCalledDDI": "01234567407",
"MostInboundAnsweredDevice": "123: Callum McQueen"
}
}
# Fields:
# BusiestDay
- type:
string
The day of the week that has the most incoming calls, over the last 30 days.
# BusiestTime
- type:
string
The time of day that has the most incoming calls, over the last 30 days. Times are given in 30-minute slots.
# AverageAnswerImprovement
- type:
integer
The improvement in the average answer time, comparing the last 7 days to the 7 days before that. An improvement is a reduction in the average time (= shorter time to answer), so negative values mean the time has gone up.
# MissedCallsImprovement
- type:
integer
The improvement in the number of missed calls, comparing the last 7 days to the 7 days before that. An improvement is a reduction in the number (= less missed calls), so negative values mean the count has gone up.
# CallsReceived
- type:
integer
The total number of inbound calls, over the last 30 days.
# MissedCalls
- type:
integer
The number of inbound calls that were abandoned by the caller, over the last 30 days.
# AverageAnswerTime
- type:
integer
The average time in seconds that a caller had to wait before the call was answered, over the last 30 days.
# AverageAbandonedTime
- type:
integer
The average time in seconds that a caller waited before abandoning the call, over the last 30 days.
# LongestWaitTime
- type:
integer
The longest time in seconds that a caller waited before their call was answered, over the last 30 days.
# MostInboundCalledDDI
- type:
integer
The DDI number that was called the most in the last 30 days.
# MostInboundAnsweredDevice
- type:
integer
The extension that answered the most incoming calls in the last 30 days.
# Code Snippets
See the following code snippets to help you start with the integration:
← Authentication Users →