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



Affiliate’s Tag Add

Affiliate’s Tag Add

Description

This function is intended to provides you ability to add new affiliates’s tag.

API function Information

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

POST Parameters

Parameter Option Value Type Example Description
User_ID required string 0000000000 User ID.
API_Key required string XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX API key.
user_id required numeric 1 Affiliate ID.
type required numeric 1 Tag type.
status required
numeric 1 Tag status.
url required
string http://google.com 3rd party tracking URL.
title required
string Title Tag title.
body required
string Tag.
body_ssl optional string Tag secured.
notes optional string Some notes Notes.

Request example


<?php

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

	// POST parameters array
	$post_params = array(
		'User_ID' => '0000000000',
		'API_Key' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
		'user_id' => '1',
		'type' => 1,
		'status' => 1,
		'url' => 'http://google.com',
		'title' => 'Title',
		'body' => 'Tag'
	);

	$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 '
';
	var_dump( $aResult );
	echo '

';

?>

Response example

The tag has been successfully added.