Status stats (/call_status/stats/history/)

The resource allows you to get a history of using statuses by employees

Description of data structures

Resource calls

Name

Type

Required

Description

Name

Type

Required

Description

extension_id

integer

yes

The unique ID of the extension.

status_id

integer

yes

The unique identifier for the status.

action

string

yes

Action: delete/assign status. Accepts del/add values respectively

change_dt

string

yes

Status change time

duration

integer

yes

Duration of stay in the status. Present only with action: del

Resources of the “Client” section

GET /client/{client_id}/extension/call_status/stats/history/

URL parameters

Name

Тип

Name

Тип

client_id

string

Request parameters

Name

Type

Name

Type

extension_id

array [integer]

order

string

end_datetime

string

start_datetime

string

per_page

integer

page

integer

Response fields

Name

Type

Name

Type

history

Array[object]

order

string

page

long

per_page

long