01-30-2024 04:39 AM
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
}
}
}
01-31-2024 02:34 AM
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
01-30-2024 05:49 AM
@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,
01-30-2024 05:52 AM
Thanks, this isn't just the sample code, none of the CLR (taskLegDetails) provide any data, even if I go back a year.
01-30-2024 06:16 AM
@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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide