Not signed in (Sign In)
  • What is Intervals?

    Intervals is online time, task and project management software built by and for web designers, developers and creatives. Learn more…

The Intervals Forum is Closed.
This forum has been replaced with a help section located at help.myintervals.com.
We recommend checking the help section, as the forums are no longer being updated. If you have any questions, please don't hesitate to contact our support team.

API

Getting multiples

Bottom of Page

1 to 2 of 2

  1.  
  1.  

    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.  

    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