Difference between revisions of "Offerit API Decode Offeritcode"
From Offerit
OfferitJames (talk | contribs) (Created page with "{{Offerit Manual | show_api_admin_section = true }} In order to decode an Offerit code, you must first make a SOAP call with the following parameter: * '''offeritcode''' The...") |
OfferitJames (talk | contribs) |
||
Line 53: | Line 53: | ||
["affsubid"] => | ["affsubid"] => | ||
int(0) | int(0) | ||
− | + | ["affsource"] => | |
− | + | int(0) | |
} | } | ||
</pre> | </pre> | ||
[[Category:Offerit API Articles]] | [[Category:Offerit API Articles]] |
Revision as of 14:02, 17 May 2012
In order to decode an Offerit code, you must first make a SOAP call with the following parameter:
- offeritcode The Offerit code you want to be decoded
NuSOAP Example
This example continues from the main article NuSOAP Example):
$values = Array( 'offeritcode' => MC4xLjEuMS4wLjAuMC4wLjAuMC4wLjA ); $result = $client->call('decode_offeritcode', $values, 'offeritapiadmin_wsdl');
Output:
array(11) { ["loginid"]=> int(1) ["username"]=> string(13) "fdsnuph3fmaw4" ["programid"]=> int(1) ["offerid"]=> int(1) ["landing_pageid"]=> int(1) ["campaignid"]=> int(0) ["adtoolid"]=> int(10) ["subid1"]=> int(0) ["subid2"]=> int(0) ["promotionalid" => int(0) ["additional_trackingid"] => int(0) ["is_unencoded"]=> int(0) ["networkid"] => int(0) ["old_code"]=> string(1) "0" ["inhouse"] => int(1) ["affsubid"] => int(0) ["affsource"] => int(0) }