Oempro Email Marketing Program Api Connection Files

This project is somewhat simple, i need three PHP files that connect to an API script via URL, and process the response in JSON or XML.

Depanding on the received answer from server, we build subscriber lists and details from subscriber.

It uses an API, that return JSON or XML response. Data is submitted to the predefined URL and the repsonse is treated via XLM or JSON. I have personnaly tried basic scripts, and the API seems solid and reliable, since I got the proper response from the API. Was connecting to the admin side.

Here is a link to the API command and example URL.

http://octeth.com/docs/oempro/developers/api/

This is a bought program so MySQL tables are hidden and data files are encrypted.

Three files are to be remitted;
1 – subscription.php
2 – unscubscription.php
3 – subscriber_detail.php

They also need to output the following;

//////////////////////
GENERAL SPECS
/////////////////////

The three distinct files are to allow people to subscribe, unsubscribe, and view what they are subscribe to and allow them to update their profile via checkboxes.

Once lists and subscribers details are pulled, we must allow the following :

// Subscribe
Have input boxes for the following fields:

Name / Type of field
***************************
TYPE : checkbox
FIRST NAME : Input text
NAME : Input text
COMPANY : Input text
PHONE : Input number (Validate US phone format)
LOCAL : Input number (max 10 carac)
EMAIL : email field (validated for email compliance)
CUSTOM_FIELD : Input text / Drop list of three possible choices
PASSWORD : ?? To be decided if we need or not upon API checks

One checkbox per list in order to subcribe to any list, and one checkbox to check all boxes at once. Keeping in ind that some list number can be grouped later on.

// UnSubscribe
Have input boxes for the following fields:

Name / Type of field
***************************
EMAIL : email field (validated for email compliance)
PASSWORD : ?? To be decided if we need or not upon API checks

One checkbox per list in order to unsubcribe to any list, and one checkbox to check all boxes at once. Keeping in ind that some list number can be grouped later on.
——————————————————————
Sub-section : email validated input box : To completly delete subscriber email.

// Update subscription

Name / Type of field
***************************
TYPE : checkbox
FIRST NAME : Input text
NAME : Input text
COMPANY : Input text
PHONE : Input number (Validate US phone format)
LOCAL : Input number (max 10 carac)
EMAIL : email field (validated for email compliance)
CUSTOM_FIELD : Input text / Drop list of three possible choices
PASSWORD : ?? To be decided if we need or not upon API checks

Have an input box to put the email and password if needed, click a button and than see subscriber details and what lists the email is subscribe to, than modify the checkboxes or details and apply the requested changes.

That is it.

Leave a Reply

Your email address will not be published. Required fields are marked *