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



Get General Report

Get General Report

Description

This function is intended to provides you ability to get general report.

API function Information

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

POST Parameters

Parameter Option Value Type Example Description
User_ID required string 1 User ID.
API_Key required string XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX API key.
date_from
required string 01/01/01 Date from.
date_to
required string 01/01/01 Date to.
amanager
optional numeric 1 New password.
vmanager optional numeric 1 Password confirm.
breakdown required numeric 1 Possible values.

Request example

<?php 

	// API Function URL
	$api_function_call = 'http://[your_system_domain_name]/api/get_general_report/';

	// API Parameters
	$post_params = array(
        'User_ID' => '0000000000',
        'API_Key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
        'date_from' => '01/01/2011',
        'date_to' => '08/11/2011',
        'breakdown' => 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);

	print_r( $aResult );

?>

Response example (breakdown 0)

<?xml version="1.0" encoding="UTF-8"?>

        01/01/2011
        08/11/2011
        94
        92
        8
        0
        <p>0</p>
        1
        <payout>26</payout>
        40.71
        14.2
        224
        3801
        3
        9
        0.28815217391304

Response example (breakdown 1)

<?xml version="1.0" encoding="UTF-8"?>

        1
        1
        1
        0
        <p>0</p>
        0
        <payout>26</payout>
        0.71
        0.2
        209
        3792
        2
        01/01/2011
        08/11/2011
        100
        0.51
        UK Prizes - Win a pair of UGG Boots
        3791
        Advertiser

Response example (breakdown 2)

<?xml version="1.0" encoding="UTF-8"?>

        2011-01-01
        5
        5
        1
        0
        <p>0</p>
        0
        <payout>26</payout>
        5
        1.5
        212
        3792
        2
        2011-01-01
        2011-01-01
        20
        0.7

Response example (breakdown 4)

<?xml version="1.0" encoding="UTF-8"?>

        69
        67
        0
        0
        <p>0</p>
        1
         <payout>26</payout>
        0
        0
        215
        1
        3
        01/01/2011
        08/11/2011
        0
        0
        RevenueStreet

Response example (breakdown 5)

<?xml version="1.0" encoding="UTF-8"?>

        79
        79
        8
        0
        <p>0</p>
        1
        <payout>26</payout>
        40.71
        14.2
        224
        3801
        3
        01/01/2011
        08/11/2011
        10
        0.33556962025316
        3791
        Advertiser

Response example (breakdown 6)

<?xml version="1.0" encoding="UTF-8"?>

        91
        89
        7
        0
        <p>0</p>
        1
        <payout>26</payout>
        35.71
        12.7
        212
        3792
        2
        01/01/2011
        08/11/2011
        8
        0.2585393258427
        3
        Kimberly Johnson

Response example (breakdown 7)

<?xml version="1.0" encoding="UTF-8"?>

        79
        79
        8
        0
        <p>0</p>
        1
        <payout>26</payout>
        40.71
        14.2
        224
        3801
        3
        01/01/2011
        08/11/2011
        10
        0.33556962025316
        29
        Artemko Gannenko