Submit a Ticket My Tickets
Welcome
Login  Sign up

[Offers] ApplyForOffer (V3) - Affiliate

WSDL Page:  http://<your_domain_here>/affiliate/api/3/offers.asmx?op=ApplyForOffer

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

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

agreed_to_terms / BOOL = Agreed To Terms ["TRUE", "FALSE"]

agreed_from_ip_address / STRING = Agreed To Terms IP Address

 

Parameter Types:

api_key - ID

affiliate_id - ID

offer_contract_id - ID

media_type_id - ID

notes - ASSIGNABLE

agreed_to_terms - ASSIGNABLE

agreed_from_ip_address - ASSIGNABLE

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/3/offers.asmx/ApplyForOffer?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969&offer_contract_id=640&media_type_id=15&notes=Here+is+where+I%27m+putting+my+notes&agreed_to_terms=TRUE&agreed_from_ip_address=8.8.8.8 

Sample XML Response:

<apply_for_offer_response>
   <success>true</success>
   <message>Campaign Created</message>
   <campaign_id>16744</campaign_id>
</apply_for_offer_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.