Quantcast
Viewing all articles
Browse latest Browse all 2504

Setting Date Values on Report Filters from CWSS

Topic by Mike Waldron

Content

I'm on November '13, and I have a report that I want to run from a C# client using Connect Web Services for SOAP (CWSS). My report has a filter on contacts.created between two dates, and I need to run it repeatedly with different date "slices." I can run it successfully using the default filter values (2015-08-01 12:00:00 AM to 2015-09-01 12:00:00 AM) but if I set the filter values, even if I use the default values, I get MAX JOIN SIZE errors. I assume I'm doing something wrong, but I can't figure out what. A code block illustrating what I'm doing is below. You'll note all the date ranges are the same regardless of formatting, and they match the default filter values.

I've looked here and here, and the forum posts/documentation they reference, but without much luck. Not much else is coming up when I search. The documentation has a simple example, but it uses an integer filter, and not a range.

I've actually got a double-whammy here:

  1. How do I specify date/datetime values in report filters? None of the suggestions I've found seems to work.
  2. How do I specify ranges for "between" filters? I'm assuming the first array element is the start of the range, and the second one is the end of the range, but is that right?

Version

November '13

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles