Reputation: 1
does anybod know how the API calls in Dynamics 365 are counted?
In particular the Organizationservice.Execute with ExecuteMultiple Request. Is this counted as one Request or is each Request inside the Requestcollecion counted by it's own?
Thanks Pascal
Upvotes: 0
Views: 838
Reputation: 2826
As per Microsoft docs link, CRUD operations are counted in API limit. Execute multiple is basically a wrapper provided to improve performance of bulk operations. Refer to this link for details of ExecuteMultiple.
In nutshell, ExecuteMultiple behaves as if each request executed separately. So API limit will count all the requests executed by ExecuteMultiple and not one.
Upvotes: 0
Reputation: 19
Every ExecuteMultiple can have a maximum of 1000 Request. But you can run multiple executeMultiple. Once there was a limit of 2 concurrent request, but not it is removed From docs:
There was once a limit on the number of concurrent ExecuteMultiple requests. The limit was 2. This was removed because service protection limits made it unnecessary. For more information: Service Protection API Limits.
Upvotes: 0