Proxys erweitern
Aktualisiert:
Dieses Dokument enthĂ€lt eine detaillierte Anleitung zur Einrichtung der automatischen Erneuerung Ihrer IP-Adressen verschiedener Typen. Bitte beachten Sie, dass IP-Adressen rechtzeitig erneuert werden mĂŒssen, um dieselben Adressen beizubehalten.
Berechnung der VerlÀngerung
Dieser Endpunkt hilft Ihnen, die Kosten zu berechnen. Die Rabatte fĂŒr Volumen und Mietdauer entsprechen denen, die unser Dienst bietet.
Endpunkt:
Pfadparameter
Name | Wert | Beschreibung |
|---|---|---|
Autorisierung |
| Ihr persönlicher API-SchlĂŒssel (wie man) |
Proxy-Typ |
| Der Proxy-Typ, den Sie erweitern möchten |
Körper der Anfrage
Name | Typ | Beschreibung |
|---|---|---|
ids | Nummer | Eine einzelne ID oder ein Array von IDs in '[ ]', getrennt durch Kommas (wie man) |
coupon | Zeichenfolge | Der Kommentar, den Sie hinzufĂŒgen möchten |
periodId | Zeichenfolge | ID des Zeitraums, den Sie im Feld/reference/list/{type} anfrage |
paymentId | Zeichenfolge | Die ID des Zahlungssystems. 1" fĂŒr Guthaben, "43" fĂŒr die Ihrem Konto hinzugefĂŒgte Karte. |
Beispiel(z. B. ipv4)
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/calc/ipv4Antwort
{
"status": "success",
"data": {
"warning": "",
"balance": 40.4,
"total": 35.1,
"quantity": 5,
"currency": "USD",
"discount": 0.22,
"items": [
{
"id": 10,
"order_id": 1000000,
"order_number": "1000000_57471911",
"base_order_number": "1000000_57471911",
"ip": "127.0.0.1",
"port_http": 80,
"port_socks": 443,
"login": "login",
"password": "password",
"auth_ip": "127.0.0.2",
"country": "USA",
"date_start": "d.m.Y H:i:s",
"date_end": "d.m.Y H:i:s",
"comment": "d.m.Y H:i:s",
"status": "ACTIVE",
"rotation": "5",
"link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
"can_prolong": true
}
],
"orders": 2
},
"errors": []
}{
"status": "error",
"data": {
"warning": "Insufficient funds. Total $2. Not enough $33.10",
"balance": 2,
"total": 35.1,
"quantity": 5,
"currency": "USD",
"discount": 0.22,
"items": [
{
"id": 10,
"order_id": 1000000,
"ip": "127.0.0.1",
"port_http": 80,
"port_socks": 443,
"login": "login",
"password": "password",
"auth_ip": "127.0.0.2",
"country": "USA",
"date_start": "d.m.Y H:i:s",
"date_end": "d.m.Y H:i:s",
"comment": "d.m.Y H:i:s",
"status": "ACTIVE",
"rotation": "5",
"link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
"can_prolong": true
}
],
"orders": 2
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Set existed [periodId] from reference",
"code": 0,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not found",
"code": 0,
"customData": null
}
]
}Einen VerlÀngerungsauftrag erstellen
In diesem Abschnitt erfahren Sie, wie Sie einen VerlÀngerungsauftrag erstellen.
Endpunkt:
Pfad-Parameter
Name | Wert | Beschreibung |
|---|---|---|
Autorisierung |
| Ihr persönlicher API-SchlĂŒssel (wie man) |
Proxy-Typ |
| Proxy-Typ, den Sie verlÀngern möchten |
Körper der Anfrage
Name | Typ | Beschreibung |
|---|---|---|
ids | Nummer | Eine oder ein Array in ids von "[ ]", getrennt durch Kommas |
coupon | Zeichenfolge | Kommentar, den Sie hinzufĂŒgen möchten |
periodId | Zeichenfolge | ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewÀhlt haben |
paymentId | Zeichenfolge | Id's des Zahlungssystems "1" - Saldo, "43" - Karte, die Sie in Ihrem Schrank hinzugefĂŒgt haben |
Beispiel(z. B. ipv4)
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/make/ipv4Antwort
{
"status": "success",
"data": {
"orderId": 3388536,
"total": 35.1,
"listBaseOrderNumbers": [
"1000000_57471911"
],
"balance": 40.4,
},
"errors": []
}{
"status": "error",
"data": {
"warning": "Insufficient funds. Total $2. Not enough $33.10",
"balance": 2,
"total": 35.1,
"quantity": 5,
"currency": "USD",
"discount": 0.22,
"items": [
{
"id": 10,
"order_id": 1000000,
"ip": "127.0.0.1",
"port_http": 80,
"port_socks": 443,
"login": "login",
"password": "password",
"auth_ip": "127.0.0.2",
"country": "USA",
"date_start": "d.m.Y H:i:s",
"date_end": "d.m.Y H:i:s",
"comment": "d.m.Y H:i:s",
"status": "ACTIVE",
"rotation": "5",
"link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
"can_prolong": true
}
],
"orders": 2
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Set existed [periodId] from reference",
"code": 0,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not found",
"code": 0,
"customData": null
}
]
}