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 Transactions Report

Get Transactions Report

Description

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

API function Information

Info
API Function Name: get_transactions_report
API Function Call: http://[your_system_domain_name]/api/get_transactions_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.
affiliates required string 1, 2 Affiliates list
advertisers optional string 1, 2 Advertisers list
offers optional string 1, 2 Offers list
transaction_hash optional string XXXXXXXXXXXXXXXXXXXXXXXXXXX Transactions hash
trans_id optional string 0000000 Transactions ID
ip optional string 77.00.00.00 IP
clicked optional numeric 1 Clicked functions will be returned.
approved optional numeric 1 Approved functions will be returned.
pending optional numeric 1 Pending functions will be returned.
rejected optional numeric 1 Rejected functions will be returned.
production required numeric 1 Production or testing(1 or 0)

Request example

<?php 

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

	// API Parameters
	$post_params = array(
        'User_ID' => '0000000000',
        'API_Key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
        'date_from' => '01/01/2011',
        'date_to' => '08/11/2011',
        'breakdown' => 0,
        'clicked' => 1,
        'production' => 1
        );	

	$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

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

        21370855
        1
        215
        1
        <production>1</production>
        2011-08-09
        0
        <hash/>
        <sub_id/>
        <track_id/>
        2011-08-09 10:53:14
        0000-00-00 00:00:00
        <referer/>
        <creative_id/>
        3791
        Advertiser
        Jobs Near You
        RevenueStreet