gen_method=1
when creating or listing selling proxies.gen_method=2
when creating or listing selling proxies.selected_positions
array.selected_positions = [3]
.selected_positions
array.selected_positions = [1, 3, 5]
.expiredDate
and memo
for a proxy with ID 203
, include only those properties in the request payload:{
"ids": [203],
"expiredDate": 1744344853000,
"memo": "My memo"
}
{
"ids": [203],
"selected_positions": [5]
}
{
"ids": [205],
"selected_positions": [1,3,6,7]
}
userAuthenticationEntry
. Enabled it then system will auto-generate new authentication credentialisAutoGenAuthentication
set to false
counterUploadLimit
. Upload limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)counterUploadLimit
. Upload quota in MBcounterDownloadLimit
. Download limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)counterDownloadLimit
. Download quota in MBcounterAllLimit
. Combined traffic limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)counterAllLimit
. Combined traffic quota in MBbwLimitEnabled
. Bandwidth limit in MbpsallowApiChangeRotation
. Minimum allowed for customer change scheduling rotation interval via API in secondsallowApiRotate
. Minimum seconds between API call to manual rotation executed by customers.maxConnectionPeriod
whitelistLimitAccessEntry
and blacklistLimitAccessEntry
{
"ids": [
203
],
"selected_positions": [
1
],
"ipAuthenticationEntry": "125.12.30.67,125.12.30.68",
"isAutoGenAuthentication": false,
"userAuthenticationEntry": "FXB8BBR5:FXB8BBR5",
"sharedEnabled": true,
"ipType": 1,
"portType": 0,
"expiredDate": 1744344853000,
"whitelistLimitAccessEntry": "facebook.com,.facebook.com*",
"blacklistLimitAccessEntry": "google.com,.google.com",
"counterUploadLimit": 0,
"counterUploadLimitBy": 1,
"counterUploadQuotaInMB": 100,
"counterDownloadLimit": 0,
"counterDownloadLimitBy": 1,
"counterDownloadQuotaInMB": 100,
"counterAllLimit": 1,
"counterAllLimitBy": 3,
"counterAllQuotaInMB": 6000,
"bwLimitEnabled": 1,
"bwLimitRate": 60,
"tcpOS": "win1",
"customDNS": "1.1.1.1 8.8.8.8",
"allowApiChangeRotation": true,
"minIntervalRotation": 120,
"intervalRotation": 0,
"allowApiRotate": true,
"minSecondRotate": 60,
"maxConnection": 200,
"maxConnectionPeriod": 60,
"forceServerResolveDns": false,
"memo": ""
}
curl --location -g --request POST 'http://localhost/selling/bulk_edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
203
],
"selected_positions": [
1
],
"ipAuthenticationEntry": "125.12.30.67,125.12.30.68",
"isAutoGenAuthentication": false,
"userAuthenticationEntry": "FXB8BBR5:FXB8BBR5",
"sharedEnabled": true,
"ipType": 1,
"portType": 0,
"expiredDate": 1744344853000,
"whitelistLimitAccessEntry": "facebook.com,.facebook.com*",
"blacklistLimitAccessEntry": "google.com,.google.com",
"counterUploadLimit": 0,
"counterUploadLimitBy": 1,
"counterUploadQuotaInMB": 100,
"counterDownloadLimit": 0,
"counterDownloadLimitBy": 1,
"counterDownloadQuotaInMB": 100,
"counterAllLimit": 1,
"counterAllLimitBy": 3,
"counterAllQuotaInMB": 6000,
"bwLimitEnabled": 1,
"bwLimitRate": 60,
"tcpOS": "win1",
"customDNS": "1.1.1.1 8.8.8.8",
"allowApiChangeRotation": true,
"minIntervalRotation": 120,
"intervalRotation": 0,
"allowApiRotate": true,
"minSecondRotate": 60,
"maxConnection": 200,
"maxConnectionPeriod": 60,
"forceServerResolveDns": false,
"memo": ""
}'
0
if gen_method=2
gen_method=1
{
"status": true,
"data": [
{
"id": 0,
"shared_port": 0,
"gen_method": 1,
"position": 0,
"group_positions": [
0
],
"ip_type": "1",
"port_type": "0",
"auth_ip_list": "string",
"auth_user_list": "string",
"web_whitelist": "string",
"web_blacklist": "string",
"expired_at_unix": 0,
"enabled": true,
"memo": "string",
"custom_dns": "string",
"bw_limit_enabled": true,
"bw_limit_rate": 0,
"counter_dl_limit": "unlimited",
"counter_dl_limit_by": "DAILY",
"counter_dl_quota": 0,
"counter_ul_limit": "unlimited",
"counter_ul_limit_by": "DAILY",
"counter_ul_quota": 0,
"counter_all_limit": "unlimited",
"counter_all_limit_by": "DAILY",
"counter_all_quota": 0,
"max_connection": 0,
"max_connection_period": 60,
"tcp_os": "string",
"force_server_resolve_dns": true,
"interval_rotation": 0,
"min_interval_rotation": 0,
"allow_api_rotate": true,
"min_second_rotate": 0,
"allow_api_change_rotation": true,
"last_rotation": 0
}
]
}