Offerit API List Affiliate Details
From Offerit
Revision as of 13:53, 1 February 2013 by OfferitMegan (talk | contribs)
This function allows you to get all of the details for an affiliate. To use this function, you must make a SOAP call with the following parameters:
- loginid - The affiliate ID to get information from
NuSOAP Example
This example continues from the main article NuSOAP Example:
$values = Array( 'loginid' => 3, // The affiliate ID to get information from ); $result = $client->call('list_aff_details', $values, 'offeritapiadmin_wsdl');
Sample Output
Array ( [loginid] => 3 [username] => TestingAccount [password] => $1$afqK3zpl$AFVfbgs4YUyjgVEQyfmlN1 [payvia_type_id] => 1 [status] => 0 [pass_hash] => 8454040144e78f6dd9badb9.90502981 [join_date] => 1316550365 [inhouse] => 0 [api_key] => [rss_pass_code] => [firstname] => Adam [lastname] => Testing [email] => testing@toomuchmedia.com [date_posted] => 1316550365 [join_ip] => 10.10.10.73 [reviewed] => 0 [minimum_payout] => 50 [bonus] => 0 [bonus_used] => 0 [verify] => [reason] => [company] => TEsting [url] => http://testing.com [tel] => [icq] => 123123123123 [aim] => asdfasdfasd [msn] => [address1] => 123 adsflkasjflsakdhj [address2] => 2134 skdjfhasdkfjh [city] => kjdfhaskjfh [state] => as [country] => US [zip_code] => 12345 [tax_id_or_ssn] => asdfasdfasdf [invoicer] => 0 [req_docs] => 0 [w9] => 0 [mailok] => 1 [trust_level] => 0 [new_notification] => 0 [latest_news] => 0 [payout_approval] => 0 [access_preset] => 0 [custom1] => 0 [custom2] => 0 [custom3] => 0 [custom4] => 0 [custom5] => 0 [remote_access] => 0 )