Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / IAffiliateRepository Interface / GetReferralCount Method
Id of the affiliate to count users for.
Inclusive start date of timeframe to count.
Inclusive end date of timeframe to count.
In This Topic
    GetReferralCount Method (IAffiliateRepository)
    In This Topic
    Gets a count of users who were referred by the affiliate during the given timeframe.
    Syntax

    Parameters

    affiliateId
    Id of the affiliate to count users for.
    startDate
    Inclusive start date of timeframe to count.
    endDate
    Inclusive end date of timeframe to count.

    Return Value

    The number of new visitors referred during the given timeframe.
    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