Difference between revisions of "Offerit API List All Affiliate Details"
From Offerit
OfferitDave (talk | contribs) (Created page with "{{Offerit Manual | show_api_admin_section = true }} This function allows you to get all of the details for all affiliates. To use this function, you must make a SOAP call with t...") |
OfferitDave (talk | contribs) (→Sample Output) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
<pre> | <pre> | ||
− | $values = Array( | + | $values = Array(); |
− | + | $result = $client->call('list_all_aff_details', $values, 'offeritapiadmin_wsdl'); | |
− | $result = $client->call(' | ||
</pre> | </pre> | ||
Line 79: | Line 78: | ||
[default_program] => 0 | [default_program] => 0 | ||
[default_offer] => 80 | [default_offer] => 80 | ||
+ | [pv_instant] => 0 | ||
+ | [payout_approval] => 0 | ||
+ | [access_preset] => 0 | ||
+ | [custom1] => 0 | ||
+ | [custom2] => 0 | ||
+ | [custom3] => 0 | ||
+ | [custom4] => 0 | ||
+ | [custom5] => 0 | ||
+ | [avatar_ext] => | ||
+ | [remote_access] => 1 | ||
+ | [dob] => 0000-00-00 | ||
+ | [auto_pending] => 0 | ||
+ | [emailer] => 0 | ||
+ | [skype] => | ||
+ | [pay_acctrep_on_revenue] => 0 | ||
+ | ) | ||
+ | |||
+ | [1] => Array | ||
+ | ( | ||
+ | [loginid] => 70 | ||
+ | [username] => testadmin | ||
+ | [password] => .... | ||
+ | [deleted] => 0 | ||
+ | [type] => 225 | ||
+ | [skinid] => 1002 | ||
+ | [payvia_type_id] => 1 | ||
+ | [status] => 0 | ||
+ | [pass_hash] => 7914454865166ca9ed0f3f9.46428647 | ||
+ | [join_date] => 1365691038 | ||
+ | [inhouse] => 0 | ||
+ | [api_key] => 6b930c2763e5c40e07f3243de9c5ec39 | ||
+ | [offeritllcid] => 0 | ||
+ | [origin] => 0 | ||
+ | [language] => en | ||
+ | [rss_pass_code] => b76c852d9664e925fcec8d7ac02d32e1 | ||
+ | [payout_period_id] => 0 | ||
+ | [tos] => 0 | ||
+ | [firstname] => david | ||
+ | [lastname] => admin | ||
+ | [email] => user@email.com | ||
+ | [date_posted] => 1365691038 | ||
+ | [join_ip] => 75.99.182.234 | ||
+ | [last_login] => 1377698654 | ||
+ | [last_login_ip] => 1264826090 | ||
+ | [reviewed] => 0 | ||
+ | [minimum_payout] => 50 | ||
+ | [bonus] => 298 | ||
+ | [bonus_used] => 0 | ||
+ | [verify] => | ||
+ | [reason] => | ||
+ | [unencoded] => 1 | ||
+ | [startpage] => internal.php | ||
+ | [rep_baseline] => 0 | ||
+ | [company] => offerit | ||
+ | [url] => http://offerit.com | ||
+ | [tel] => | ||
+ | [icq] => | ||
+ | [aim] => | ||
+ | [msn] => | ||
+ | [address1] => 1114 campus drive west | ||
+ | [address2] => | ||
+ | [city] => morganville | ||
+ | [state] => New Jersey | ||
+ | [country] => US | ||
+ | [zip_code] => 12345 | ||
+ | [tax_id_or_ssn] => | ||
+ | [invoicer] => 0 | ||
+ | [req_docs] => 0 | ||
+ | [w9] => 0 | ||
+ | [mailok] => 1 | ||
+ | [new_notification] => 0 | ||
+ | [latest_news] => 0 | ||
+ | [default_campaign] => 0 | ||
+ | [default_program] => 0 | ||
+ | [default_offer] => 78 | ||
[pv_instant] => 0 | [pv_instant] => 0 | ||
[payout_approval] => 0 | [payout_approval] => 0 |
Latest revision as of 10:40, 29 August 2013
This function allows you to get all of the details for all affiliates. To use this function, you must make a SOAP call with the following parameters:
NuSOAP Example
This example continues from the main article NuSOAP Example:
$values = Array(); $result = $client->call('list_all_aff_details', $values, 'offeritapiadmin_wsdl');
Sample Output
Array ( [0] => Array ( [loginid] => 1 [username] => testuser [password] => ... [deleted] => 0 [type] => 225 [skinid] => 1002 [payvia_type_id] => 1 [status] => 0 [pass_hash] => 18954290295166ff2f35f103.06333282 [join_date] => 1322668691 [inhouse] => 0 [api_key] => d0a09cd1fbd4fdf0297e18e23e0aa206 [offeritllcid] => 0 [origin] => 0 [language] => en [rss_pass_code] => 5971ba1d0bab0519fdaca322c938c4d0 [payout_period_id] => 0 [tos] => 0 [firstname] => Staging1 [lastname] => Offerit [email] => test@email.com [date_posted] => 1322668691 [join_ip] => 75.99.182.234 [last_login] => 1365524166 [last_login_ip] => 1264826090 [reviewed] => 0 [minimum_payout] => 50 [bonus] => 1849 [bonus_used] => 0 [verify] => [reason] => [unencoded] => 1 [startpage] => admin_overview.php [rep_baseline] => 0 [company] => Offerit [url] => http://offerit.com [tel] => [icq] => 123123123321 [aim] => noaim [msn] => [address1] => 123 Offerit [address2] => [city] => Morganville [state] => NJ [country] => US [zip_code] => 12345 [tax_id_or_ssn] => [invoicer] => 0 [req_docs] => 0 [w9] => 0 [mailok] => 0 [new_notification] => 0 [latest_news] => 0 [default_campaign] => 0 [default_program] => 0 [default_offer] => 80 [pv_instant] => 0 [payout_approval] => 0 [access_preset] => 0 [custom1] => 0 [custom2] => 0 [custom3] => 0 [custom4] => 0 [custom5] => 0 [avatar_ext] => [remote_access] => 1 [dob] => 0000-00-00 [auto_pending] => 0 [emailer] => 0 [skype] => [pay_acctrep_on_revenue] => 0 ) [1] => Array ( [loginid] => 70 [username] => testadmin [password] => .... [deleted] => 0 [type] => 225 [skinid] => 1002 [payvia_type_id] => 1 [status] => 0 [pass_hash] => 7914454865166ca9ed0f3f9.46428647 [join_date] => 1365691038 [inhouse] => 0 [api_key] => 6b930c2763e5c40e07f3243de9c5ec39 [offeritllcid] => 0 [origin] => 0 [language] => en [rss_pass_code] => b76c852d9664e925fcec8d7ac02d32e1 [payout_period_id] => 0 [tos] => 0 [firstname] => david [lastname] => admin [email] => user@email.com [date_posted] => 1365691038 [join_ip] => 75.99.182.234 [last_login] => 1377698654 [last_login_ip] => 1264826090 [reviewed] => 0 [minimum_payout] => 50 [bonus] => 298 [bonus_used] => 0 [verify] => [reason] => [unencoded] => 1 [startpage] => internal.php [rep_baseline] => 0 [company] => offerit [url] => http://offerit.com [tel] => [icq] => [aim] => [msn] => [address1] => 1114 campus drive west [address2] => [city] => morganville [state] => New Jersey [country] => US [zip_code] => 12345 [tax_id_or_ssn] => [invoicer] => 0 [req_docs] => 0 [w9] => 0 [mailok] => 1 [new_notification] => 0 [latest_news] => 0 [default_campaign] => 0 [default_program] => 0 [default_offer] => 78 [pv_instant] => 0 [payout_approval] => 0 [access_preset] => 0 [custom1] => 0 [custom2] => 0 [custom3] => 0 [custom4] => 0 [custom5] => 0 [avatar_ext] => [remote_access] => 1 [dob] => 0000-00-00 [auto_pending] => 0 [emailer] => 0 [skype] => [pay_acctrep_on_revenue] => 0 ) )