- API document for XProxy service
- Proxy Management
- Device Management
- Change IMEI for multiple donglesPOST
- Add or change device notePOST
- Change MAC address for donglesPOST
- Change APN for donglesPOST
- Change device labelPOST
- Connect dongle to networkPOST
- Enable/disable WiFi for multiple donglesPOST
- Disconnect dongle from networkPOST
- Reboot a specific donglePOST
- Reset bus donglePOST
- Get dongle information including phone numberPOST
- Set MTU value for a donglePOST
- Rotation (Change IP)
- Selling Platform
- SMS & USSD Utitlies
- System Management
Auto rotation :: Add a rotation schedule job
POST
{{BASE_URL}}/v2/schedule/rotation_add_job
Request
Body Params application/json
run_per_day
enum<string>
optional
Allowed values:
foreverrange
Example:
forever
positions
array[integer]
optional
Example:
[1]
interval
integer
optional
Example:
5
unit
enum<string>
optional
Allowed values:
minutessecondshours
Example:
minutes
specific_time
string
optional
Example:
00:00
start_time
string | null
optional
Example:
null
end_time
string | null
optional
Example:
null
Example
{
"run_per_day": "forever",
"positions": [
1
],
"interval": 5,
"unit": "minutes",
"specific_time": "00:00",
"start_time": null,
"end_time": null
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://localhost/v2/schedule/rotation_add_job' \
--header 'Content-Type: application/json' \
--data-raw '{
"run_per_day": "forever",
"positions": [
1
],
"interval": 5,
"unit": "minutes",
"specific_time": "00:00",
"start_time": null,
"end_time": null
}'
Responses
🟢200OK
application/json
Body
status
boolean
optional
Example:
true
msg
string
optional
Example:
Schedule rotation added successfully!
Example
{
"status": true,
"msg": "Schedule rotation added successfully!"
}
🟠400Bad Request
🔴500Server Error
Modified at 2025-04-23 02:56:40