Contract Affiliate Caps
Lead Contract Affiliate Caps
Get Affiliate Caps
GET
/core/v2/leadDistributionContracts/getAffiliateCaps.do
Parameters
- Name
- contractID
- Type
- integer
- Name
- start
- Type
- integer
- Description
- Offset of the first row to return.
- Default value
- Default value: 0
- Name
- limit
- Type
- integer
- Description
- Maximum number of rows to return. Cannot be greater than 1000.
- Default value
- Default value: 100
Request Sample
curl --request GET \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/getAffiliateCaps.do \ --header 'Authorization: Basic Og=='
Create Affiliate Cap
POST
/core/v2/leadDistributionContracts/createAffiliateCap.do
Parameters
- Name
- contractID
- Type
- integer
- Required
- required
- Name
- affiliateID
- Type
- integer
- Required
- required
- Name
- campaignID
- Type
- integer
- Required
- required
- Name
- period
- Type
- enum
- Required
- required
- Allowed values
- Allowed values:
DailyWeeklyMonthly
- Name
- cap
- Type
- integer
- Required
- required
Request Sample
curl --request POST \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/createAffiliateCap.do \ --header 'Authorization: Basic Og=='
Delete Affiliate Cap
POST
/core/v2/leadDistributionContracts/deleteAffiliateCap.do
Parameters
- Name
- contractAffiliateCapID
- Type
- integer
- Required
- required
Request Sample
curl --request POST \ --url https://api.leadspedia.com/core/v2/leadDistributionContracts/deleteAffiliateCap.do \ --header 'Authorization: Basic Og=='

