2 Markets - only 1 response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pdupre1961
    Junior Member
    • Nov 2011
    • 4

    #1

    2 Markets - only 1 response

    I have been trying to get a response regarding Southwell 14:20 today, and got empty reply. So, tried including 2nd race at Southwell (1.117901530 & 1.117901534) as well in same request. Only, received response from Southwell 14:50.

    {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listMarketCatalogue","params":{"filter":{"marketId s":[1.117901530, 1.117901534]}, "maxResults":"2", "marketProjection":["MARKET_START_TIME","EVENT","RUNNER_METADATA"]}, "id":1}

    But, only received back response from 1.117901534.

    What's wrong with 1.117901530 & also had same problem with 1.17901550 - last race at Southwell today.
  • Franklin1
    Junior Member
    • Mar 2012
    • 91

    #2
    I can't get a response for 1.117901530, but it'd too late now anyway.
    I can't get one for 1.17901550, but if I fix the id to 1.117901550 it returns ok.

    I had a look using listMarketBook, which is supposed to return settled markets too and this seemed a bit weird:
    calling for: 1.117890533,1.117901530,1.117901534,1.117901550
    returned only 1.117901530,1.117901534,1.117901550
    (so 1.117901530 returned ok)

    BUT:
    1.117890533 was a race from yesterday
    calling for 1.117890533 returns 1.117890533
    calling for: 1.117890533,1.117901530 returns 1.117901530

    almost like calling for a recent market blocks responses from old market

    Comment

    • pdupre1961
      Junior Member
      • Nov 2011
      • 4

      #3
      Sorry my ID was wrong, the correct ID is 1.117901550

      Still, returning nothing for me.

      Comment

      • pdupre1961
        Junior Member
        • Nov 2011
        • 4

        #4
        Same problem with tomorrow's market IDs
        1.117907810 Newbury 26th Mar 15:05
        1.117907750 Ffos Las 26th Mar 15:50
        1.117907700 Chelmsford City 26th Mar 18:15

        I think I notice a pattern, they all end in zero.

        1.117901530 Southwell 25th Mar 14:20
        1.117901550 Southwell 25th Mar 15:50

        Comment

        • pdupre1961
          Junior Member
          • Nov 2011
          • 4

          #5
          Okay, problem solved.

          Market IDs must be enclosed in quotation marks like this "1.117901550".

          Comment

          • Franklin1
            Junior Member
            • Mar 2012
            • 91

            #6
            Oh, well debugged. I was just using the visualiser and missed them too

            Comment

            • betdynamics
              Junior Member
              • Sep 2010
              • 534

              #7
              Yup - that old chestnut has come up on this forum repeatedly.

              Comment

              • gus
                Senior Member
                • Jan 2009
                • 134

                #8
                Tere's a good explanation of this by Fred77 at the end of this thread:

                https://forum.bdp.betfair.com/showth...0946#post10946

                Comment

                • Franklin1
                  Junior Member
                  • Mar 2012
                  • 91

                  #9
                  I have to say - I don't think using exchangeid.oldMarketid was the best idea ever - just creates more potential for error. (new)MarketID is a string so any other character than '.' would have prevented confusion with it being a decimal number

                  Comment

                  Working...
                  X