Retrieve a collection of call history entry.
GET
/search
Retrieve a collection of call history entry.
Path parameters
-
access_token
string
required
token to be passed as a header -
pagination
integer
required
The pagination of paging. -
pagesize
integer
required
The size of paging. -
sort_by
string
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field. -
counts
integer
optional
counts. -
start_time
string
optional
start time -
end_time
string
optional
end time -
condition
string
optional
search condition.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_logs/search \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
pagesize
integer
-
sort_by
string
-
pagination
integer
-
details
array
-
count
integer
Sample Response
{
"pagesize": 10,
"sort_by": "DEFAULT",
"pagination": 8,
"count": 100
}
Retrieve call history entry.
GET
/show
Path parameters
-
access_token
string
required
token to be passed as a header -
id
string
required
The call history entry id.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_logs/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
id
string
The call history entry ID. -
targets
array
-
count
integer
count. example: 1
Sample Response
{
"id": 111
}
Retrieve a collection of call history entry.
GET
/list
Retrieve a collection of call history entry.
Path parameters
-
access_token
string
required
token to be passed as a header -
pagination
integer
required
The pagination of paging. -
pagesize
integer
required
The size of paging. -
sort_by
string
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field. -
counts
integer
optional
counts. -
start_time
string
optional
start time -
end_time
string
optional
end time -
extension
string
optional
search condition.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_logs/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
pagesize
integer
-
sort_by
string
-
pagination
integer
-
details
array
-
count
integer
Sample Response
{
"pagesize": 10,
"sort_by": "DEFAULT",
"pagination": 8,
"count": 100
}