sajidali | 2016-11-16 13:43:27 UTC | #1
I am using PostConversationsAggregatesQuery(body) using .Net SDK. In the body i am sending the queueid. There are 48 queues for customer, which means i will make 48 calls to API. My question is, is there any limit of number of calls we can make to an API withing certain period?
Second question is, if i add all queueid's in the AnalyticsQueryClause and pass the list to body, then the POST message will grow in size, so any limit of that one?
Thanks.
tim.smith | 2016-11-16 14:14:02 UTC | #2
sajidali, post:1, topic:634
is there any limit of number of calls we can make to an API withing certain period?
Yes, see the API Rate Limits documentation
sajidali, post:1, topic:634
the POST message will grow in size, so any limit of that one?
There is a max size, but it's very large. You won't hit it unless you're doing something very, very wrong.
anon47305574 | 2016-11-16 18:00:30 UTC | #3
To your latter point, there are many variables that will impact the size of your query response. It all depends on which metrics you select (e.g. all vs a small handful), the width of your interval in combination with the granularity (e.g. one year with one month buckets vs one year with hour buckets), and how many (if any) group-bys you use (and the cardinality of those groups).
If the cross-product of all of these is sufficiently large, the query could potentially be nonperformant, or even it does succeed, it could be just as burdensome on the client-side to parse a large response. All that being said though, there's no magic number/advice. If you do come across any issues though, please post a sample query here for follow-up
sajidali | 2016-11-17 08:16:42 UTC | #4
Thank you Mike, This is very good information.
system | 2017-08-28 19:28:50 UTC | #5
This post was migrated from the old Developer Forum.
ref: 634