Trouble with Vendor Web API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshpro
    Junior Member
    • Jul 2019
    • 1

    #1

    Trouble with Vendor Web API

    I am trying to create an access token to use for O-Auth, but I am having some trouble.

    The API call to
    Code:
    getDeveloperAppKeys
    Returns the object
    Code:
    DeveloperApp
    With a DeveloperAppVersion list (delayed and live) that I need: https://docs.developer.betfair.com/d...operAppVersion
    Code:
    List< DeveloperAppVersion >
    The variables it is supposed to return
    Code:
    vendorId
    and
    Code:
    vendorSecret
    And I need these. However, it is not returning them. I get the following response from the call:

    Code:
     { appName: 'name here',
       appId: app id,
       appVersions:
        [ { owner: 'the owner',
           versionId: version id,
           version: '1.0-DELAY',
            applicationKey: 'app key',
           delayData: true,
            subscriptionRequired: true,
            ownerManaged: false,
           active: true },
          { owner: 'the owner',
            versionId: version id,
           version: '1.0',
           applicationKey: 'app key',
           delayData: false,
           subscriptionRequired: true,
            ownerManaged: false,
            active: false } ] }
    I need them because I am trying to get an access token to use for O-Auth, so that I can use the Streaming API. I believe I need these two variables to request the access token by following the Java code sample: https://github.com/betfair/sample-web-app-vendor.

    All of the API's are working: Account, Betting, Heartbeat, Race Status, from my tests.






Working...
X