Enum Confusion ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geoffw123
    Senior Member
    • Mar 2014
    • 250

    #1

    Enum Confusion ?

    hello

    I have only just started looking at the API-NG so I could be missing something obvious here but I noticed this enum confusion.

    https://api.developer.betfair.com/se.../Betting+Enums

    This documentation shows 7 Enum values, including MARKET_START_TIME

    However the latest c# example code shows
    Code:
    public enum MarketProjection
        {
            COMPETITION, EVENT, EVENT_TYPE, MARKET_DESCRIPTION, RUNNER_DESCRIPTION, RUNNER_METADATA 
        }
    In this MARKET_START_TIME is missing ?

    Which of these is correct, it would be significant as the enums above the missing one will be out by one from the docs ?

    Thanks for any clarification

    Geoff
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    I am using:

    Code:
    	public enum MarketProjection
    	{
    		COMPETITION, 
    		EVENT, 
    		EVENT_TYPE,
    		MARKET_START_TIME,
    		MARKET_DESCRIPTION, 
    		RUNNER_DESCRIPTION,
    		RUNNER_METADATA
    	}

    Comment

    Working...
    X