GetSilksV2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • doof
    Junior Member
    • Aug 2010
    • 2

    #1

    GetSilksV2

    Im getting this error calling the GetSilksV2 method

    APIErrorEnum.SERVICE_NOT_AVAILABLE_IN_PRODUCT

    The documentation doesn't list this Enum. I have a lot of other calls that work, just not the get silks. I've tried a few different market Ids.

    Any help appreciated.

    C# Code

    static void Main(string[] args)
    {
    srGlobal.LoginReq req = new srGlobal.LoginReq();

    req.username = "doof";
    req.password = "xxx";
    req.productId = 82;

    srGlobal.BFGlobalServiceClient BetfairClient = new srGlobal.BFGlobalServiceClient();
    srGlobal.LoginResp resp = BetfairClient.login(req);

    srAuExchange.GetSilksV2Req silks = new srAuExchange.GetSilksV2Req();
    silks.header = new srAuExchange.APIRequestHeader();
    silks.header.sessionToken = resp.header.sessionToken;
    Int32?[] marketIds = new int?[1];
    marketIds[0] = 100795360;

    silks.markets = marketIds;
    //req.markets[0].Value = marketId;

    srAuExchange.BFExchangeServiceClient client = new srAuExchange.BFExchangeServiceClient();
    srAuExchange.GetSilksV2Resp silksResponse = client.getSilksV2(silks);
    }
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Are you using the free API?

    I think you can only get at the silks info if you are on a full license (i.e. NOT free API)

    Comment

    • doof
      Junior Member
      • Aug 2010
      • 2

      #3
      This matrix says free account should be able to

      http://bdp.betfair.com/index.php?opt...d=36&Itemid=62

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        The matrix has NO tick against Get Silks v2 in the FREE API column, so it is not available.

        Comment

        Working...
        X