WSDL Page: http://<your_domain_here>/affiliate/api/2/offers.asmx?op=ApplyForOffer
Parameter Summary:
api_key / STRING = Affiliate API Key
affiliate_id / INT = Affiliate ID
offer_contract_id / INT = Offer Contract ID {See offers.asmx > OfferFeed}
media_type_id / INT (unsignedByte) = Media Type ID {See offers.asmx > OfferFeed}
notes / STRING = Freeform Notes
Parameter Types:
api_key - ID
affiliate_id - ID
offer_contract_id - ID
media_type_id - ID
notes - ASSIGNABLE
Sample GET Call:
https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/ApplyForOffer?api_key=WGdlFhziHLA&affiliate_id=5969&offer_contract_id=640&media_type_id=15¬es=Here+is+where+I%27m+putting+my+notes
Sample XML Response:
<apply_for_offer_response>
<success>true</success>
<message>Campaign Created</message>
<campaign_id>16744</campaign_id>
</apply_for_offer_response>