Caps
Lead Contract Caps
Get Leads Cap Info
GET
/core/v2/leadDistributionContracts/getLeadsCapInfo.do
Parameters
- Name
- contractID
- Type
- integer
- Required
- required
Request Sample
curl --request GET \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/getLeadsCapInfo.do \ --header 'Authorization: Basic Og=='
Update Leads Cap
POST
/core/v2/leadDistributionContracts/updateLeadsCap.do
Parameters
- Name
- contractID
- Type
- integer
- Required
- required
- Name
- hourlyLeadsCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- dailyLeadsCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- weeklyLeadsCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- monthlyLeadsCap
- Type
- integer
- Description
- To unset the cap, set this to 0
Request Sample
curl --request POST \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/updateLeadsCap.do \ --header 'Authorization: Basic Og=='
Get Revenue Cap Info
GET
/core/v2/leadDistributionContracts/getRevenueCapInfo.do
Parameters
- Name
- contractID
- Type
- integer
- Required
- required
Request Sample
curl --request GET \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/getRevenueCapInfo.do \ --header 'Authorization: Basic Og=='
Update Revenue Cap
POST
/core/v2/leadDistributionContracts/updateRevenueCap.do
Parameters
- Name
- contractID
- Type
- integer
- Required
- required
- Name
- hourlyRevenueCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- dailyRevenueCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- weeklyRevenueCap
- Type
- integer
- Description
- To unset the cap, set this to 0
- Name
- monthlyRevenueCap
- Type
- integer
- Description
- To unset the cap, set this to 0
Request Sample
curl --request POST \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/updateRevenueCap.do \ --header 'Authorization: Basic Og=='

