1-877-548-3001 Sign in About Contact
Developer

GET

/api/analytics/operator/{id}/activity

Online and offline activity for the operator

Scope:

client

or

operator

Request Parameters

Path

2

id

required

The operators unique ID

Query

A

from_date

required

start date for operator activity data (ex. 04/27/2019)

A

to_date

required

end date for operator activity data (ex. 04/27/2020)

Response

Schema

{}

payload

The operator activity data

[]

{}

A

action

The activity action

A

date

The date/time the activity occurred in format YYYY-MM-DDTHH:MM:SSZ

A

status

The system response status. Will be ok or error

curl

example request

1

curl -H "Authorization: Bearer {{Oauth Token}}"

2

https://developer.livehelpnow.net/api/analytics/operator/{{1234}}/activity\?from_date\=04/27/2019\&to_date\=04/27/2020

example response

      
        

1

 {

2

   "payload": [{

3

     "action"

: "Status Online",

4

     "date"

: "2019-12-03T12:05:09",

5

   }],

6

   "status": "ok"

7

 }