Hello Software Integration Specialist –
I have a project that needs some integration. It appears
that each software comes with full API integration instructions.
I have a website that is almost done called bigfootprofits.com
I need to integrate the web pages with the affiliate software
http://www.osiaffiliate.com/affiliate-software.htm which states
that that part is super easy, and also integrate their affiliate
software with my 3rd party software which also states that is
really easy. Maybe it is but for someone like me that has no
technical ability, it’s martian!
I need someone to integrate my website with the affiliate software
and integrate the product with the affiliate software.
The product (3rd party software license i purchased comes with
built in billing and an added on affiliate plug in) but it’s
very inferior and their web page editor that comes with their
replication software is horrible and I can’t do anything with
my web pages.
So, at the 23rd hour I’m forced to integrate something into it.
I need help from a quality integration specialist. I’m also
getting little support from the product software owner and its
making it hard for me to make any progress at this point so I
just need to get my own affiliate system integrated for replication, billing, commissions, etc.
Please help!!!!!!!!!!!!!
The API info is posted on the Omnistar website either on the main pages or admin demo and I can give you access to the API info for the developer for my software.
My software:
API INTEGRATION
Below are instructions for how your developer will integrate his system into our system so that once a lead joins your program their capture page account is automatically created:
CREATE USER API
———————-
URL To Send Request To:
http://yourURL.com/admin/createapi.php
Variables:
email
password
fname – First Name
lname – Last Name
phone
URL – URL a lead is redirected to after filling out the form on the
address
city
state
zipcode
country
capture page
username – Username for the system. Must be uniquer. A leads capture page will be http://yourURL.com/USERNAME
apikey – A key so we can authenticate the request. We will provide the api key.
Sample URL:
http://yourURL.com/admin/createapi.php?fname=Chris&lname=TEST&email=test@test.com&password=test123&phone=555-555-5555&URL=http://mysite.com&username=apitest&address=address&city=city&state=KY&zipcode=zip&country=USA&apikey=XXXX
UPDATE AFFILIATE
———–
URL
http://yourURL.com/admin/updateapi.php
VARIABLES
oldemail
newemail
fname
lname
username
oldpassword
newpassword
apikey
EXAMPLE
http://yourURL.com/admin/updateapi.php?oldemail=sales@leadcapturepagesystem.com&newemail=promote@leadcapturepagesystem.com&fname=Chris&lname=TestUp&username=christest&oldpassword=test&newpassword=test&apikey=XXXX
Please Note: YOU MUST PASS ALL VARIABLES
DELETE USER
———–
URL
http://yourURL.com/admin/deleteapi.php
Omnistar software:
1. Introduction
The XML API functionality use to insert affiliate users and delete affiliate users to a users group remotely.
2. System Requirements
For using the XML API functionality server must be running PHP 5.1.2 or higher with cURL support.
3. Submitting a Request
For using the XML API functionality you can submit the request through cURL with valid XML format. The XML Path will look similar to the following:
http://www.yourdomain.com/affiliate/xml.php
Following are the sample for using the XML API functionality:
a) For Add Affiliate Users:
<?php
$content = ‘<?xml version=”1.0″?>
<xmlrequest>
<username>admin</username>
<usertoken>21232f297a57a5a743894a0e4a801fc3</usertoken>
<requestmethod>InsertAffiliate</requestmethod>
<details>
<usergroup>youruser group</usergroup>
<referredby>email@domain.com</referredby>
<affiliateprogram>affiliate program</affiliateprogram>
<status>Approved</status>
<customfields>
<item>
<fieldname>First Name:</fieldname>
<value>your first name</value>
</item>
<item>
<fieldname>Last Name:</fieldname>
<value>your last name</value>
</item>
<item>
<fieldname>Choose Password:</fieldname>
<value>123456</value>
</item>
<item>
<fieldname>Confirm Password:</fieldname>
<value>123456</value>
</item>
<item>
<fieldname>Email:</fieldname>
<value>email@domain.com</value>
</item>
<item>
<fieldname>Company:</fieldname>
<value>synapseIndia</value>
</item>
</customfields>
</details>
</xmlrequest>’;
$ch = curl_init(“http://www.yourdomain.com/affiliate/xml.php”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, “xml=$content”);
$result = @curl_exec($ch);
if($result === false) {
echo “Error performing request”;
}
else {
$xml_doc = simplexml_load_string($result);
echo ‘Status is ‘, $xml_doc->status, ‘<br/>’;
if ($xml_doc->status == ‘SUCCESS’) {
echo ‘Data is <br />’, $xml_doc->data, ‘<br/>’;
} else {
echo ‘Error is <br />’, $xml_doc->errormessage, ‘<br/>’;
}
}
curl_close($ch);
?>
The XML document structure for Adding affiliate users:
xmlrequest (Required) This is the root document tag name.
username (Required) This is the admin user name.
usertoken (Required) This is user token number like password for using the API. You can get it: by going to the “Manage Administrator” section under System Management. The API user token will look like this 4e127412e602d6826867cc3403b7caeb.
requestmethod (Required) This is the method name for API, For adding the affiliate users method name is