Announcement

Collapse
No announcement yet.

listMarketCatalogue not returning French PLACE results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • listMarketCatalogue not returning French PLACE results

    I'm on week 2 of working with API-NG so I may have missed something obvious, advanced apologies if so.

    In some horse racing filters I want to search for things other than just WIN races and listMarketCatalogue is not returning them. If I search for WIN the results seem fine. If I include PLACE in my search it works for GB but only returns WIN result for French races, possibly other countries too (assuming WIN was included in the filter, if not results vary but likely return no results). For example, here's part of a search that includes PLACE (and other type) markets but, even though they exist, listMarketCatalogue does not return them, only the WIN results:

    (Note; time range may not have return anything for this example but the sequnce of 23 others did):
    Code:
    Calling: SportsAPING/v1.0/listMarketCatalogue With args:
    {"filter":{"eventTypeIds": "7"],"turnInPlayEnabled":true,
    "marketCountries":["FR"],
    "marketTypeCodes":["PLACE","WIN","OTHER_PLACE","EACH_WAY","REV_FORECAST","MATCH_BET","FORECAST","WITHOUT_FAV"],
    "marketStartTime":{"from":"2017-04-13T15:40:01.5557284+01:00","to":"2017-04-13T16:40:01.5557284+01:00"}},
    "marketProjection":["RUNNER_DESCRIPTION","COMPETITION","EVENT","EVENT_TYPE","MARKET_DESCRIPTION"],
    "sort":"FIRST_TO_START","maxResults":"200",
    "locale":null}
    Above you can see that I do include "PLACE" in the filter. Here's the list of markets I get back (from my 24 calls above covering 24H period, split in 1 hour chunks to prevent exceeding listMarketCatalogue per call 200 point limit):
    Code:
    1.130950891	Aut (FRA) 13th Apr	3000m 3yo Hrd	Auteuil	FR	WIN	1	True	12	13/04/2017 10:10:00	13/04/2017 10:10:00	13/04/2017 10:10:00
    1.130950893	Aut (FRA) 13th Apr	3000m 3yo Hrd	Auteuil	FR	WIN	1	True	8	13/04/2017 10:10:00	13/04/2017 10:40:00	13/04/2017 10:40:00
    1.130950897	Aut (FRA) 13th Apr	3700m 4yo Chs	Auteuil	FR	WIN	1	True	11	13/04/2017 10:10:00	13/04/2017 11:10:00	13/04/2017 11:10:00
    1.130950900	Aut (FRA) 13th Apr	3900m Hcap Hrd	Auteuil	FR	WIN	1	True	16	13/04/2017 10:10:00	13/04/2017 11:47:00	13/04/2017 11:47:00
    1.130950902	Aut (FRA) 13th Apr	3600m 4yo Hrd	Auteuil	FR	WIN	1	True	16	13/04/2017 10:10:00	13/04/2017 12:20:00	13/04/2017 12:20:00
    1.130950904	Aut (FRA) 13th Apr	3900m Hcap Hrd	Auteuil	FR	WIN	1	True	16	13/04/2017 10:10:00	13/04/2017 12:50:00	13/04/2017 12:50:00
    1.130950906	Aut (FRA) 13th Apr	3500m 4yo Hrd	Auteuil	FR	WIN	1	True	10	13/04/2017 10:10:00	13/04/2017 13:20:00	13/04/2017 13:20:00
    1.130950908	Aut (FRA) 13th Apr	3700m 5yo+ Chs	Auteuil	FR	WIN	1	True	12	13/04/2017 10:10:00	13/04/2017 13:55:00	13/04/2017 13:55:00
    1.130950910	Aut (FRA) 13th Apr	3900m Hcap Hrd	Auteuil	FR	WIN	1	True	15	13/04/2017 10:10:00	13/04/2017 14:30:00	13/04/2017 14:30:00
    I can see that there are PLACE races that should be returned, according to the BetFair website and navigation file. Why is listMarketCatalogue not returning them, (only the WIN races)?

    The equivalent search on GB horse races works fine in both tests (i.e. I get the type of result, such as PLACE, if that's what the filter asks for).

    I'm using C# with JSon, in case that's of any significance...

  • #2
    You have told listMarketCatalogue to return results for races that go InPlay.

    The French place markets do not appear to go InPlay (at least not the ones that I have looked at)

    Comment


    • #3
      BetDynamics, thank you for your reply which is spot on.

      Comment


      • #4
        I am having a similar problem with US Races. The PLACE filter does not return the US Place markets. If I have no filters I get the US Place markets (where they exist) and the name is "3 TBP" but I tried this as a filter and it doesn't work. I want just WIN and PLACE markets not "match Bets 1" etc. The API refrence page gives an error. Anyone got any ideas?

        As a separate question, the UK "other Place" markets. What filters (if any) return them?

        Cheers

        Comment


        • #5
          Originally posted by Schrodinger View Post
          I am having a similar problem with US Races. The PLACE filter does not return the US Place markets. If I have no filters I get the US Place markets (where they exist) and the name is "3 TBP" but I tried this as a filter and it doesn't work. I want just WIN and PLACE markets not "match Bets 1" etc. The API refrence page gives an error. Anyone got any ideas?

          As a separate question, the UK "other Place" markets. What filters (if any) return them?

          Cheers
          Show us your request.

          Comment

          Working...
          X