The Intervals Forum is read-only
Please head to help.myintervals.com for help articles and guides. If you have any questions, please contact our support team.

API

Getting multiples

Bottom of Page

1 to 2 of 2

  1.  
  1. 11/08/2010 11:53 pm  

    Hello,
    If I wanted to return the details for one value I can use
    https://api.myintervals.com/time/?moduleid=123456&datebegin=10-10-2&dateend=10-10-10&limit=2000

    How could I combine this to return multiples
    https://api.myintervals.com/time/?moduleid=123456&moduleid=123457&moduleid=123458&datebegin={1}&dateend={2}&limit=2000

    thanks for your time

  2. 11/09/2010 9:04 am  

    Hey yalp,

    The moduleid filter on the time resource does allow you to string multiple values together. The expected format is CSV. Your query would look something like this:

    https://api.myintervals.com/time/?moduleid=123456,123457,123458&datebegin={1}&dateend={2}&limit=2000

    Many resource filters allow you to string multiple integers together in a CSV format. The documentation for each resource will tell you when this is permitted. In the "Expects" column, next to where it says "integer", if there is a superscript "1" that means multiple values are allowed.

    Hope that helps.

    Cameron

Comments are closed.
For more Intervals help documentation, please visit help.myintervals.com