1.1.1 Summary

Get an offer list filtered by offer status.
 

1.1.2 Request

Request Method: GET
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
status Offer Status;
Optional;
Default: all.
string all,
archived,
active,
pending,
paused,
expired
from Offer Create Date
Optional
Default: null
Date  
 

1.1.3 Response

 
Header:

HTTP Status Object Description Error Code
200   Success 0
400 Parameter: status Invalid Value of Offer Status 6303
 
Content Format: JSON.
Data is array of offers; each offer is a JSON object.


Offer Property Description
id Offer ID
name Offer Name
status Offer Status
advertiser_id Advertiser ID
 

1.1.4 Example

 
Sample Request URL:
http://demo.fuseclick.com/api/v1/getOffers?key=603E3F0E3266&status=active
 
Response sample:

{
  "httpStatus": 200,
  "data": [
    {
        "id": "42",
        "name": "testOfferAPICreate",
        "status": "Active",
        "advertiser_id": "1",
        "create_date": "2015\/10\/15",
        "expire_date": "2016\/03\/21",
        "type": "Mobile",
        "access_type": "Public",
        "currency": " United States, Dollars",
        "session_lifespan": "1 Day",
        "enable_geo_targeting": "No",
        "geo_type": "Include",
        "geo_countries": "",
        "preview_url": "http:\/\/abc.com"
    },
    {
        "id": "41",
        "name": "testOfferAPICreate",
        "status": "Active",
        "advertiser_id": "1",
        "create_date": "2015\/10\/15",
        "expire_date": "2016\/03\/21",
        "type": "Mobile",
        "access_type": "Public",
        "currency": " United States, Dollars",
        "session_lifespan": "1 Day",
        "enable_geo_targeting": "No",
        "geo_type": "Include",
        "geo_countries": "",
        "preview_url": "http:\/\/abc.com"
    }
  ],
  "errorCode": 0,
  "message": ""
}