1.1.1 Summary

Set Conversion Status to approved or rejected.
The converson should be not occur in the affiliate's billing or the advertiser's billing.
And it isn't 10 conversion id in one request.

1.1.2 Request

Request Method: GET
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
Query Conditions
conversion_ids Conversion ID List
*Required
String
1. A conversion ID consists of month and id. These data can obtained by the method getConversionReport.  GetConversionReport returns the "id" and "month", please combine them into one conversion id string.
e.g. 201510_1032
2. The conversion_ids accepts no more than 10 conversion ID. 
e.g. 201510_1032, 201510_1033, 201605_998, 201510_1013, 201705_9918, 201510_1031, 201605_9982, 201605_9981, 201605_9983, 201605_9984
status Target Status
*Required
String Approved
Rejected
 

1.1.3 Response

 
Header:

HTTP Status Object Description Error Code
200   OK.  (Some conversion fail to change status) 0
202   Accpeted. (All conversion success to change status)  
400 Parameter Invalid Parameters 65XX
 
Content Format: JSON
 

1.1.4 Example

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

{
"conversion_ids": "201512_1010,201512_1033,201512_1034,201512_1035,201512_1036,201512_1037",
"status": "Approved"
}
 
 
 
Response sample:

{
    "httpStatus":200,
    "data":{
        "201512_1010":"Success change to Approved",
        "201512_1033":"Success change to Approved",
        "201512_1034":"Error. Conversion status is Approved.",
        "201512_1035":"Success change to Approved",
        "201512_1036":"Error. Conversion status is Approved.",
        "201512_1037":"Success change to Approved",
        "201512_1038":"Success change to Approved",
        "201512_1039":"Error. Conversion status is Approved."
    },
    "errorCode":0,
    "message":""
}