1.1.1        Summary

Get affiliate information by Affiliate ID (s).
 

1.1.2        Request

Request Method: GET
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
id Affiliate ID
*Required
int You can request with a string of ID s and use comma as a delimiter
Example:
1,5,6
 

1.1.3        Response

Header:
HTTP Status Object Description Error Code
200   Success 0
400 Parameter: ID No Affiliate ID 6201
Invalid Affiliate ID 6202
Parameter: status Invalid Value of Affiliate Status 6203
 
Content Format: JSON
 

Affiliate Property Description
id Affiliate ID
email Affiliate Email
status Affiliate Status
first_name Affiliate First Name
last_name Affiliate Last Name
am_id Affiliate Manager ID
payout_tier_id Affiliate Payout Tier ID
post_back_url Affiliate Global Postback URL
invoice_frequency Affiliate Invoice Frequency
 phone Phone Number
im_type IM Type
im_handler IM Handler(Account)
company Company
title Job Title
members Company Members
address1 Affiliate Address 1
address2 Affiliate Address 2
city -
country -
state -
zipcode -
payment_method Payment Method:
Check, Wire, Paypal, Direct Deposit, Other
check_payment_to Check Payment Method Information
 
check_payment_type
check_address_1
check_address_2
check_city
check_state
check_country
check_zipcode
wire_beneficiary Payment Method: Wire Beneficiary
wire_account
wire_bank
wire_routing
wire_details
paypal_email Paypal Email
deposit_account_holder Payment Method: Deposit
deposit_account
deposit_bank
deposit_routing
deposit_details
other_details Payment Method: Other
signup_date Affiliate Sign Up Date
signup_ip Affiliate Sign Up IP
last_login_date Affiliate Last Login Date
last_login_ip Affiliate Last Login IP
click_count Affiliate Click Count
last_click_time Affiliate Last Click Time
conversion_count Affiliate Conversion Count
last_conversion_time Affiliate Last Conversion Time
 
 

1.1.4        Example

       Sample Request URL:
       http://{your_network_domain}/api/v1/getAffiliateById?key=603E3F0E3266&id=2
 
Response sample:

{
  "httpStatus": 200,
  "data": [
    {
      "id": "2",
      "first_name": "affFIrst",
      "last_name": "affLast",
      "email": "affTest@163.com",
      "status": "Active",
      "am_id": 0,
      "payout_tier_id": "1",
      "post_back_url": "",
      "invoice_frequency": "Weekly",
      "phone": "",
      "im_type": "",
      "im_handler": "",
      "company": "aff",
      "title": "",
      "members": "",
      "address1": "",
      "address2": "",
      "city": "",
      "country": "AF",
      "state": "",
      "zipcode": "",
      "payment_method": "Check",
      "check_payment_to": "",
      "check_payment_type": "Company",
      "check_address_1": "",
      "check_address_2": "",
      "check_city": "",
      "check_state": "",
      "check_country": "AF",
      "check_zipcode": "",
      "wire_beneficiary": "",
      "wire_account": "",
      "wire_bank": "",
      "wire_routing": "",
      "wire_details": "",
      "paypal_email": "",
      "deposit_account_holder": "",
      "deposit_account": "",
      "deposit_bank": "",
      "deposit_routing": "",
      "deposit_details": "",
      "other_details": "",
      "signup_date": "",
      "signup_ip": "127.0.0.1",
      "last_login_date": "2015/08/05",
      "last_login_ip": "127.0.0.1",
      "click_count": 0,
      "last_click_time": "",
      "conversion_count": 0,
      "last_conversion_time": ""
    }
  ],
  "errorCode": 0,
  "message": ""
}