listEvents not the same as the Visualiser?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raptorjr
    Junior Member
    • May 2013
    • 8

    #1

    listEvents not the same as the Visualiser?

    So i'm trying to list all Football events for the next 24 hours.
    In the Visualiser everything looks good.

    This is the call that i'm making:
    Calling: SportsAPING/v1.0/listEvents With args: {"filter":{"eventTypeIds":["1"],"marketStartTime":{"from":"2014-09-04T18:52:25.2557685","to":"2014-09-05T18:52:25.2557685"}},"locale":null}

    Only setting the eventTypeId to football, and setting the time now(when i made the call), and 24 hours forward.

    The problem is that i only get 5 events for today, when it should be 25.

    What am i missing? Any filter options that i need to set? Everything is default in the Visualiser, only setting the same things as i do above. But they show different things.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    What is the actual JSON string that you are sending?

    If it is the string that you originally quoted, then what is "locale":null ?

    If you don't want to specify a locale, then leave it out completely from the JSON string.

    Comment

    • raptorjr
      Junior Member
      • May 2013
      • 8

      #3
      Thank you for your answer, never thought i would get any replies that fast =)

      The locale shouldn't be a problem, it is optional. And i'm using the Betfair listEventTypes as a template since they are using the same input.

      But i figured it out, it was a clock problem. Didn't convert the time to local time.

      Comment

      Working...
      X