Get the list of commission ratio of campaign

Method: GET

HTTP Request

https://api.accesstrade.vn/v1/commission_policies

Query Parameters

The parameters passed into HTTP Request according to Key-Value pair, begin the parameters with “?” and separate each parameter with the sign “&”. Ex:

https://api.accesstrade.vn/v1/commission_policies?camp_id=5338806296999499238&month=01-2021

Describe the results

Example (Using Postman tool to call API)

{
    "category": [
        {
            "category_id": "Tren 10",
            "category_name": null,
            "customer_type": null,
            "sales_price": 200000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        },
        {
            "category_id": "Tu 1-4",
            "category_name": null,
            "customer_type": null,
            "sales_price": 160000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        },
        {
            "category_id": "Tu 5-9",
            "category_name": null,
            "customer_type": null,
            "sales_price": 175000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        },
        {
            "category_id": "cat_129739_rank6",
            "category_name": null,
            "customer_type": null,
            "sales_price": 200000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        },
        {
            "category_id": "cat_3982_rank6",
            "category_name": null,
            "customer_type": null,
            "sales_price": 200000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        }
    ],
    "default": [
        {
            "customer_type": null,
            "result_id": 30,
            "reward_type": 1,
            "sales_price": 160000.0,
            "sales_ratio": 0.0,
            "taget_month": "01/2021"
        }
    ],
    "product": []
}

Last updated