1.1.1 Summary

 
Get Offers in a Specified Category.
 

1.1.2 Request

 
Request Method: GET
Query String Parameters:

Parameter Description
 
Type Data Range
key Network API Key
* Required
 
string  
category_id Offer Category ID
* Required
 
Int  

1.1.3 Response

 
Header:

HTTP Status Object Description Error Code
200   Successfully 0
400 Parameter Invalid Parameters 63XX
 
Content Format: JSON
Data will be returned as an JSON object, this data include category_id, and offer_ids ( in particular category).
 
 

1.1.4 Example

 
Sample Request URL:
http://{Your_Network_Domain}/api/v1/getCategoryOffers?key=603E3F0E3266&category_id=1
 
Response sample:

{
  "httpStatus": 200,
  "data": {
    "category_id": "1",
    "offer_ids": [
      "12",
      "13",
      "16",
      "18",
      "19"
    ]
  },
  "errorCode": 0,
  "message": ""
}