Difference between revisions of "API Method MessageCountSince"

From Updox API
Jump to: navigation, search
(Created page with "== FAQ == ==== Why am I getting a "messageCount" of 50 returned from the MessageListSince call but a "totalCount" of 1? ==== This is normal. The messageCount field is the to...")

Revision as of 11:40, 3 December 2013

FAQ

Why am I getting a "messageCount" of 50 returned from the MessageListSince call but a "totalCount" of 1?

This is normal. The messageCount field is the total number of messages that could be returned by the call. It is the same value as the messageCount field that's passed into the request, but if that field is null then the default is 50. This is to help support paging. So, for example, you could pass in 15 for "messageCount" and 16 for "start" and we will give you back 15 items starting with the 16th item.