kpaull | 2024-08-14 17:43:03 UTC | #1
I ran this GET /api/v2/routing/wrapupcodes using api-explorer-standalone and received a partial list of our codes. The query returned a 200, successful operation. What am I missing?
I saw a reply by Tim somewhere else in the forum to use this: GET /api/v2/routing/queues/{queueId}/wrapupcodes I ran this and it wanted queueids. Can I feed a list of queue ids into it? If so how?
Thanks,
Eos_Rios | 2024-08-15 01:19:27 UTC | #2
kpaull, post:1, topic:27901
I ran this GET /api/v2/routing/wrapupcodes using api-explorer-standalone and received a partial list of our codes. The query returned a 200, successful operation. What am I missing?
Do you understand how to paginate?
kpaull, post:1, topic:27901
Can I feed a list of queue ids into it? If so how?
It's DIY. You either manually do it or do it through a scripting language of your choice.
kpaull | 2024-08-15 12:09:23 UTC | #3
Thanks Eos_Rios. As you can see I am new to this. I will look up paginate. Thanks for the DIY tip as well.
Cheers!
John_Carnell | 2024-08-15 12:55:31 UTC | #4
Hi Kurtis,
Eos is right about using a scripting language to paginate on the API call. You can also use our Genesys Cloud CLI:
`gc routing wrapupcodes list -a` to dump all the routing wrapup codes without.
The -a tells the CLI to use auto-pagination for the query.
The CLI completely wrappers all of our API calls and can be useful for light scripting and system administration tasks.
Thanks, John Carnell Director, Developer Engagement
system | 2024-09-14 12:56:18 UTC | #5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 27901