Must use a GET method to run the affiliate listing API. Results will display all of your affiliates if not specified or a single affiliate and their information.
Able to pull in XML or JSON by including the following in the headers.
- Accept:application/xml for an xml response
- Accept:application/json for a json response
Base URL
https://api.linktrust.com/v2/affiliate
Parameters
IncludeAffiliateCampaignData - Choose whether to show the campaign data for the affiliates. True or false.
AffiliateId - Only shows data for one affiliate. Must be a valid Affiliate ID.
Example URLs
https://api.linktrust.com/v2/affiliate?affiliateid=123456
https://api.linktrust.com/v2/affiliate?includeaffiliatecampaigndata=true
https://api.linktrust.com/v2/affiliate?includeaffiliatecampaigndata=true&affiliateid=123456
Example XML Response
<ArrayOfAffiliate>
<Affiliate>
<AffiliateId>123456</AffiliateId>
<PartnerId>2</PartnerId>
<AffiliateName>Rad Marketing</AffiliateName>
<AltId>1345</AltId>
<Groups>Email Group</Groups>
<PrimaryManager>Mick Jogger</PrimaryManager>
<IsSuspended>false</IsSuspended>
<FirstName>Jane</FirstName>
<LastName>Doe</LastName>
<Address1>210 East 2950 North</Address1>
<Address2>Suite G-75</Address2>
<City>Lehi</City>
<State />
<Province />
<PostalCode>84604</PostalCode>
<Country>Taiwan, Province Of China</Country>
<Email>mick@gmail.comm</Email>
<Phone>801-331-6945</Phone>
<Fax>801-880-8884</Fax>
<IMNetwork>mjogger</IMNetwork>
<IMAddress>AIM</IMAddress>
<TaxDocDate>12/26/2009</TaxDocDate>
<SignupDate>3/31/2009</SignupDate>
<LastLoginDate>7/15/2014</LastLoginDate>
<Campaigns>
<Campaign>
<CampaignId>100000</CampaignId>
<CampaignManagers>
<d5p1:string>Mike Morris</d5p1:string>
<d5p1:string>Lou Finnigan</d5p1:string>
<d5p1:string>Sammy Wounder</d5p1:string>
</CampaignManagers>
<CampaignName>Supermart Mobile Deals</CampaignName>
<CampaignStatus>PublicLive</CampaignStatus>
<CampaignType>CPA</CampaignType>
<Category>** Exclusive</Category>
<ExpirationDate />
<Group>Newbie</Group>
</Campaign>
</Campaigns>
</Affiliate>
</ArrayOfAffiliate>
Example JSON Response
[1]
- 0: {
AffiliateId: 123456
PartnerId: 2
AffiliateName: "Rad Marketing"
AltId: "1345"
Groups: "Email Group"
PrimaryManager: "Bret Grow"
IsSuspended: false
FirstName: "Jane"
LastName: "Doe"
Address1: "210 East 2950 North"
Address2: "Suite G-75"
City: "Lehi"
State: ""
Province: ""
PostalCode: "84604"
Country: "Taiwan, Province Of China"
Email: "jan@gmail.comm"
Phone: "801-331-6945"
Fax: "801-880-8884"
IMNetwork: "jdoe"
IMAddress: "AIM"
TaxDocDate: "12/26/2009"
SignupDate: "3/31/2009"
LastLoginDate: "7/15/2014"
Campaigns: [3]
0: {
CampaignId: 100000
CampaignName: "Supermart Mobile Deals"
Category: "** Exclusive"
Group: "5555555"
CampaignStatus: "PublicLive"
CampaignType: "CPA"
ExpirationDate: ""
CampaignManagers: [3]
0: "Mike Morris"
1: "Jim Smith"
2: "Joe Jones"
}
-
1: {
CampaignId: 100001
CampaignName: "Catch All Campaign"
Category: "** Free Giveaways"
Group: "No Group"
CampaignStatus: "PrivateLive"
CampaignType: "CPA"
ExpirationDate: "6/30/2012"
CampaignManagers: [1]
0: "Mick Jogger"
}
-
2: {
CampaignId: 100002
CampaignName: "Honeymoon"
Category: "Travel/Tourism"
Group: "No Group"
CampaignStatus: "PrivateLive"
CampaignType: "CPA"
ExpirationDate: "4/30/2019"
CampaignManagers: [2]
0: "Lou Finnigan"
1: "Sammy Wounder"
}
}
You can request a demo to see LinkTrust up close and experience how it can help you, or start your free 14-day trial now.
Need help with this feature or have questions? You can contact our support team at support@linktrust.com