1.1.1 Summary

Processing the offer application. The action include approve、deny、block、unblock。

1.1.2 Request

 
Request Method: POST
Parameters:

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

      POST Parameters:
Parameter Description Type Data Range
id Offer Appilication ID
*Required
Int >0
action The action include approve、deny、block、unblock.
*Required
String Approve
Deny
Block
Unblock
 

1.1.3 Response

Header:
HTTP Status Object Description Error Code
202   Accepted 0
400 Parameter Invalid Parameter 68XX
 
Content Format: JSON
 

1.1.4 Example

 
Sample Request URL:
http://{your_network_domain}/api/v1/changeOfferApplicationStatus?key=603E3F0E3266
 
Post Data:

{
"id": 12,
  "action": "approve"
}
 
Response sample:

{
    "httpStatus": 202,
    "data": {
        "result": "success"
    },
    "errorCode": 0,
    "message": ""
}