1.1.1  Summary

Add post back URL for an offer event with an affiliate.
 

1.1.2   Request

Request Method: POST
Query String Parameters:

Parameter Description Type Data Range
key Network API Key;
* Required
 
string  
 
POST Parameters:

Parameter Description Type Data Range
affiliate_id Affiliate ID
* Required
 
Int >0
offer_id Offer ID
* Required
int >0
event_id Offer Event ID
* Required
int >0
type Postback Url Type
* Required
int 1: Server Postback URL
2: IFrame Pixel
4: Image Piexl
post_back_url Post Back URL
* Required
 
String  
 

1.1.3   Response

Header:
HTTP Status Object Description Error Code
201   Created Successfully 0
400 Parameter Invalid Parameters 62XX
 
Formatted in JSON
 

1.1.4   Example

Request URL:
http://{your_network_domain}/api/v1/addAffiliateEventPostBack?key=603E3F0E3266E
[POST DATA]
 
Response:

{
  "httpStatus": 201,
  "data": { "post_back_url_id": "33"},
  "errorCode": 0,
  "message": ""
}