I’m currently working with the Acumatica API and noticed that some REST services typically return a totalCount
field or include the total count of records as part of the metadata in their responses. However, I couldn’t find any documentation or examples indicating that Acumatica supports this feature, in fact the opposite from the links i pasted below.
Specifically, I’m looking for a way to retrieve the total number of records in a dataset (e.g., total orders or customers) alongside a paginated response. I don’t see a totalCount
in the response body, nor have I found any mention of it in headers like X-Total-Count
.
My questions are:
- Does Acumatica support returning the total count of records in the API response?
- If not, is there a recommended approach or workaround to efficiently retrieve the total count of records?
- Should I rely on a separate API call to count the records?
- Are there any best practices for handling this in Acumatica?
Any insights or suggestions would be greatly appreciated. Thanks in advance for your help!
https://stackoverflow.com/questions/42234272/total-rows-number-on-acumatica-webservice