Submit a Ticket My Tickets
Welcome
Login  Sign up

[Addedit] OfferContract (V1) - Admin

WSDL Page:  http://yourdomainhere.com/api/1/addedit.asmx?op=OfferContract

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

offer_id / ID = Offer ID

offer_contract_id / ID = Offer Contract ID {See export.asmx > Offer}

offer_contract_name / STRING = Offer Contract name

price_format_id / ID = Price Format ID {See get.asmx>PriceFormats}

payout / DECIMAL Default Price Paid

received / DECIMAL = Price Received

received_percentage / BOOL = Is the received amount a percentage?

offer_link / STRING  = OfferLink

thankyou_link / STRING = The Thankyou link for the Offer Contract

offer_contract_hidden / BOOL = Offer contract hidden from portal? 

offer_contract_is_default / BOOL = Make this Offer Contract the default?

use_fallback_targeting / BOOL = Fallback targeting method?

 

 

Parameter Types:

api_key - ID

offer_id - ID

offer_contract_id - ID

offer_contract_name - ASSIGNABLE

price_format_id - ID

payout - ASSIGNABLE

received - ASSIGNABLE

received_percentage - ASSIGNABLE

offer_link - ASSIGNABLE

thankyou_link - ASSIGNABLE

offer_contract_hidden - ASSIGNABLE

offer_contract_is_default - ASSIGNABLE

use_fallback_targeting - ASSIGNABLE

 

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/OfferContract?api_key=dNJFmId9rI&offer_id=1000147&offer_contract_id=0&offer_contract_name=Myname&price_format_id=1&payout=10&received=100&received_percentage=FALSE&offer_link=http%3A%2F%2Fbradsexample.com&thankyou_link=http%3A%2F%2Fbradsexample.com%2FTY&offer_contract_hidden=FALSE&offer_contract_is_default=TRUE&use_fallback_targeting=FALSE

 

Sample XML Response:

<offercontract_addedit_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">

<success>
true
</success>
<message>
Offer Contract 3630 Created
</message>
<offer_contract_id>
3630
</offer_contract_id>

</offercontract_addedit_response>

 

Did you find it helpful? Yes No

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