cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
4
Replies

taskLegDetails example not working

abcxyz123
Level 1
Level 1

I'm following the example from here
https://github.com/WebexSamples/webex-contact-center-api-samples/blob/9b420bb25103ffec44bb4efa87e71bb297df653e/reporting-samples/graphql-sample/More%20Examples/totalCallsByAni.graphql#L3

And I'm unable to get anything back from the API, I see other users here have had the same issue without a response.

Here is an extract example that does not work

# Query to fetch CLR  attributes between the given epoch time in 1 January 2023 00:00:00 UTC and Friday, 17 February 2023 07:35:34 UTC
# from and to are mandatory paramaters.
# Note - response is paginated
taskLegDetails(from: ${Date.now() - startTimeOffset}, to: ${Date.now()}) {
taskLegs {
id
taskId
channelType
# Results are sorted by ascending order of createdTime
createdTime(sort : asc)
}
pageInfo {
# Indicates if the nextPage exists or not
hasNextPage
# String value which can be passed to fetch the next page.
endCursor
}
}
}
4 Replies 4

@abcxyz123 in case you do not get a response here, I would create an issue on the repo so the owner of the repo see this problem, unsure if they follow this community for issues on GitHub code.

Hope this helps,

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Thanks, this isn't just the sample code, none of the CLR (taskLegDetails) provide any data, even if I go back a year.

@abcxyz123 i got you - also try the webex4devs space too then https://community.cisco.com/t5/webex-for-developers/bd-p/disc-webex-developers, that or might be a TAC case if you have no reply here, i see the other threads on this by searching the keyword on the boards here.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Janos Benyovszki
Cisco Employee
Cisco Employee

We (Webex Developer Support) are working on resolving this. The taskLegDetails are behind a feature toggle, we are in discussion with Product Management to enable it for the org in question. If anyone else needs the same, open a ticket with us https://developer.webex.com/support . Thanks