dotConnect for FreshBooks Documentation
Devart.Data.FreshBooks Namespace / FreshBooksConnectionStringBuilder Class / APIVersion Property

In This Topic
    APIVersion Property
    In This Topic
    Gets or sets the FreshBooks API version to use.
    Syntax
    'Declaration
     
    Public Property APIVersion As APIVersion
    public APIVersion APIVersion {get; set;}

    Property Value

    One of the APIVersion values.
    Remarks

    Note that FreshBooks Classic API are deprecated. It's recommended to use new Alpha API.

    Different API versions require different sets of connection parameters. For Classic API you should set Server and AuthenticationToken.

    For Alpha API you should set AccessToken, ClientId, CompanyNameClientSecret, RefreshToken, and OAuthStorage. The latter parameter is not required, however, without it, you will need to perform authentication every time you start the application and retrieve a new RefreshToken.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also