Get conversation data#
Minimum API level
API version 2.0 or higher
Function call (URL) | Permissions | Possible parameters |
---|---|---|
/app_gespr_list | user / sub-admin | Without parameters: all data records are displayed offset: Output of call data from data record X. limit: Number of data records to be output. |
Example calls:
-
Output of all data records: https://192.168.0.240/app_gespr_list?limit=0
-
Output of the first 50 data records: https://192.168.0.240/app_gespr_list
-
Output of the first 10 data records: https://192.168.0.240/app_gespr_list?limit=10
-
Output of all data records starting with data record 100: https://192.168.0.240/app_gespr_list?offset=100
-
Output of 10 data records starting with data record 100: https://192.168.0.240/app_gespr_list?offset=100&limit=10
Info
- If Parameter limit is not specified, an array containing 50 data records is returned.
- If you want to request all data records, use the paramter limit=0.
Response type | Possible content |
---|---|
id | Unique number of the call data list entry. Note: The IDs do not have to be consecutive because they originate from the central call data acquisition and outgoing connections are also stored there. |
extName | Name of the caller, if call number or name is known. The name can come from the central telephone book, from the online name search or from the network (display message from the direction of the network operator). |
extRufNr | Phone number of the caller, if known. |
datum | Date of the call. |
startZeit | Time of the call. |
dauer | Duration of the call in seconds. |
msn | Own called number. |
dir | Direction (0: coming, 1: going) |
Example response (2 conversations)
[
{
"id": 58447,
"extName": "",
"extRufNr": "0530692000",
"datum": "04.04.17",
"startZeit": "12:44:59",
"dauer": "48",
"msn": "970851",
"dir":0
},
{
"id": 58448,
"extName": "",
"extRufNr": "0530692000",
"datum": "02.04.17",
"startZeit": "12:10:29",
"dauer": "147",
"msn": "970851",
"dir":1
}
]