Offerit API Decode Offeritcode

From Offerit
Jump to: navigation, search
SOAP API (*deprecated*)
Add Affiliate
Add Affiliate Sale
Add Offer
Approve Transaction
Creative Types
Decode Offeritcode
Deny Transaction
Disable Affiliate Landing Page
Edit Affiliate Sale
Enable Affiliate Landing Page
Get Affiliate Stats
Get Allowed Affiliates
Get Landing Page Details
Get Offer Details
Get Offer List
Get Profit Loss Report
List Affiliate Details
List Affiliate Subaffiliates
Set Affiliate Status
Set SubAffiliate Status
Set Member Details
Record Affiliate Click

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');


    [loginid] => 0
    [payoutid] => 1
    [offerid] => 1
    [landing_pageid] => 1
    [campaignid] => 0
    [adtoolid] => 0
    [subid1] => 0
    [subid2] => 0
    [is_unencoded] => 0
    [old_code] => 0