Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)


Daily Agent Activity

DailyAgentActivityResponse GetDailyAgentActivity(string sessionID, DateTime sDate, DateTime eDate);

 

Description:

 

Returns daily agent activity within the specified interval.

 

Parameters:

 

SessionID        Session ID obtained by invoking OpenSession method

sDate               Date and time the data is searched from

eDate               Date and time the data is searched to

 

Notes:

1)    The difference between sDate and eDate should be greater than 1 minute but must not exceed 24 hrs

2)    Both sDate and eDate must be specified using the configured account’s time zone settings

 

Return:

 

The method returns a DailyAgentActivityResponse object containing the error code of the transaction (0 = Success), a brief description about the error (if any), and the data itself.

 

 The data is returned as a DataTable object. The table will contain the following columns:

Return valueDescription
Username Agent’s username
ActivityNameName of the activity
ActivityStartDateDate and time the activity was started
ActivityEndDateDate and time the activity was completed
SecondsDurationDuration of the activity (in seconds)
ActivityCodeThe code for agent statuses
PhoneNoThe phone number the agent is signed in with

The data will be null if there is any error in getting the activity history.


ActivityCode Definitions:


Activity Code

Description

0

Not Ready

16

Available

17

Accept Internal Calls

18

Busy – Chatting

32

Busy – On Call

33

Busy – Wrapping up

34

Busy – On Break

35

Busy – Dialing

36

Busy – Other

37

Busy – On Email



Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)