Difference between revisions of "Offerit API List Affiliate Details"
From Offerit
OfferitJames (talk | contribs) (→Sample Output) |
OfferitJames (talk | contribs) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
* '''loginid''' - The affiliate ID to get information from | * '''loginid''' - The affiliate ID to get information from | ||
+ | * '''username''' - The username of the affiliate to get information from | ||
== NuSOAP Example == | == NuSOAP Example == | ||
Line 23: | Line 24: | ||
Array | Array | ||
( | ( | ||
− | [loginid] => | + | [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 | ||
+ | ) | ||
) | ) | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 16:52, 16 April 2014
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
- username - The username of the affiliate 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 ( [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 ) )