Topics
Support
Affiliates Get All
Affiliates Get All
Description
This function is intended to provide affiliates list with all affiliates without any filters in XML format.
API function Information
| Info |
|---|
| API Function Name:affiliates_get_all |
| API Function Call: http://[your_system_domain_name]/api/affiliates_get_all/ |
POST Parameters
| Parameter | Option | Value Type | Example | Description |
|---|---|---|---|---|
| User_ID | required | string | 0000000000 | User ID. |
| API_Key | required | string | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | API key. |
Request example
<?php
// API Function URL
$api_function_call = 'http://[your_system_domain_name]/api/affiliates_get_all/';
// API Parameters
$post_params = array(
'User_ID' => '0000000000',
'API_Key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_function_call);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_params);
$aResult = curl_exec($ch);
curl_close($ch);
echo '
';
print_r( $aResult );
echo '
';
?>
Response example
<?xml version="1.0" encoding="UTF-8"?>2459 1 0260media beefcfd1c4ad4a0ec80499e4494f6392 182162.42 0260 Media http://www.0260media.com 1 Dax Valdez 8188418715 dax@0260media.com 227 7259 West Sahara Avenue #120Las Vegas 99 89117 1 3 1 9 80-0246415 1 2 0 0.03 0 money420 0 2010-05-28 13:46:07 0000-00-00 00:00:00 2010-01-28 01:00:00 2 24 <title>Other</title>36