cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1325
Views
2
Helpful
3
Replies

Timezone for Task start and end times using Webex CC API

dwynn2
Community Member

I've created the following query to pull data from the WebexCC 2.0 api.  I'm not sure how to determine what timezone the created and endedtime fields are using and I haven't found any information in the current API documentation.  Any help would be appreciated.

https://developer.webex-cx.com/documentation/search/v1/search-tasks

 

{
    taskDetails(
        from1677628800000
        to1678000000000,

        pagination: { cursor"0" }
    )
     {
        tasks {
                id
                destination
                origin
                createdTime
                owner {
                    id
                    name
                }
                lastSite {
                    id
                    name
                }
                lastEntryPoint {
                    id
                    name
                }
                direction
                endedTime
                terminationType
                lastWrapupCodeName
                lastTeam {
                    id
                    name
                }
                customer {
                    phoneNumber
                    email
                    name
                }
            }
        pageInfo {
            hasNextPage
            endCursor
        }
    }
}
1 Accepted Solution

david.macias
VIP Alumni
VIP Alumni

If I remember correctly all timestamps are UTC.

david

View solution in original post

3 Replies 3

dwynn2
Community Member

I thought so but wasn't sure.  Thanks for confirming.

sdoddali
Cisco Employee
Cisco Employee

As David mentioned all the timestamps are in UTC.

david.macias
VIP Alumni
VIP Alumni

If I remember correctly all timestamps are UTC.

david