Support

Use our Support system


Look for an answer in our Knowledge Base. Submit your requests here.

E-mail / Instant Manager service


support@effectus-software.com
AIM: umgbiz

Phone


1-727-517-3839
#800 (coming soon)

Working hours


Monday-Friday, 9am-5pm EST



Affiliates Get By Parameters

Affiliates Get By Parameters

Description

This function is intended to provide affiliates list in XML format.

API function Information

Info
API Function Name: affiliates
API Function Call: http://[your_system_domain_name]/api/affiliates/

POST Parameters

Parameter Option Value Type Example Description
User_ID required string 0000000000 User ID.
API_Key required string XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX API key.
type optional numeric 1 Affiliate Type ID. Could be used for filtering by type.
status optional numeric 1 Affiliate Status ID. Could be used for filtering by status.
manager optional numeric 1 Affiliate Manager ID. Could be used for filtering by manager.

Request example


<?php
        // API Function URL
	$api_function_call = 'http://[your_system_domain_name]/api/affiliates/';

	// API Parameters
	$post_params = array(
        'User_ID' => '0000000000',
        'API_Key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
        'type' => 1,
        'status' => 1,
        'manager' => 0
    );	

	$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 #120
Las 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