Leadspedia

Lead Reports


Leads Report

GET
/affiliate/v2/leadsReports/getLeadsMainReport.do

Parameters

  • Name
    fromDate
    Type
    date
    Description
    Start of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    toDate
    Type
    date
    Description
    End of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD

Request Sample

curl --request GET \
  --url https://api.leadspedia.com/affiliate/v2/leadsReports/getLeadsMainReport.do \
  --header 'Authorization: Basic Og=='

Campaigns Report

GET
/affiliate/v2/leadsReports/getLeadsByCampaignsReport.do

Parameters

  • Name
    fromDate
    Type
    date
    Description
    Start of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    toDate
    Type
    date
    Description
    End of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD

Request Sample

curl --request GET \
  --url https://api.leadspedia.com/affiliate/v2/leadsReports/getLeadsByCampaignsReport.do \
  --header 'Authorization: Basic Og=='

Sub Affiliates Report

GET
/affiliate/v2/leadsReports/getLeadsBySubAffiliatesReport.do

Parameters

  • Name
    fromDate
    Type
    date
    Description
    Start of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    toDate
    Type
    date
    Description
    End of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    campaignID
    Type
    integer
    Description
    Restrict to a single campaign.

Request Sample

curl --request GET \
  --url https://api.leadspedia.com/affiliate/v2/leadsReports/getLeadsBySubAffiliatesReport.do \
  --header 'Authorization: Basic Og=='

Daily Report

GET
/affiliate/v2/leadsReports/getLeadsDailyReport.do

Parameters

  • Name
    fromDate
    Type
    date
    Description
    Start of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    toDate
    Type
    date
    Description
    End of the date range
    Matching Pattern
    Match Pattern: YYYY-MM-DD
  • Name
    campaignID
    Type
    integer
    Description
    Restrict to a single campaign.

Request Sample

curl --request GET \
  --url https://api.leadspedia.com/affiliate/v2/leadsReports/getLeadsDailyReport.do \
  --header 'Authorization: Basic Og=='