Offerit API Decode Offeritcode
From Offerit
Revision as of 13:52, 1 February 2013 by OfferitMegan (talk | contribs)
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'); print_r($result);
Output:
Array ( [loginid] => 0 [payoutid] => 1 [offerid] => 1 [landing_pageid] => 1 [campaignid] => 0 [adtoolid] => 0 [subid1] => 0 [subid2] => 0 [is_unencoded] => 0 [old_code] => 0 )