711proxy EAPI
  1. EAPI
711proxy EAPI
  • EAPI
    • GET TOKEN
      POST
    • GET Enterprise Balance
      GET
    • Create Order
      POST
    • GET ORDER STATUS
      GET
    • Apply Restitution Order
      POST
    • Change UserPass Status
      POST
    • Create Allocation Order
      POST
    • Whitelist
      POST
    • WhitelistInfo
      POST
    • Statement
      POST
  1. EAPI

Create Order

POST
/eapi/order/
EAPI
Create Order

Request

Header Params
Authorization
string 
required
Authorization
Example:
Bearer
Body Params application/json
expire
string 
optional
Expired timestamp
flow
string 
required
Traffic to be allocated, Byte
host
string 
optional
Specify host
Example
{
    "expire": "timestamp",
    "flow": "0",
    "host": "host.com"
}

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 --request POST 'https://server.711proxy.com/eapi/order/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "expire": "timestamp",
    "flow": "0",
    "host": "host.com"
}'

Responses

🟢200
*/*
OK
Body
code
integer 
optional
Status code
msg
string 
optional
Information
error
optional
Error message
username
string 
optional
username
passwd
string 
optional
password
host
string 
optional
Custom host
port
string 
optional
Port
proto
string 
optional
Protocol
expire
string 
optional
Expired timestamp
un
string 
optional
Spliced ​​user:passwd@host:port
order_flow
string 
optional
Order set allocated traffic, Bytes
order_flow_after
string 
optional
After order allocation, user:pass remaining traffic
order_flow_befor
string 
optional
Before order allocation, user:pass remaining traffic
order_no
string 
optional
Order number
restitution_no
string 
optional
Return order associated order number
un_flow
string 
optional
user:pass remaining traffic
un_flow_used
string 
optional
user:pass used traffic
un_status
boolean 
optional
user:pass status
Example
{
    "code": 0,
    "msg": "string",
    "error": null,
    "username": "string",
    "passwd": "string",
    "host": "string",
    "port": "string",
    "proto": "string",
    "expire": "string",
    "un": "string",
    "order_flow": "string",
    "order_flow_after": "string",
    "order_flow_befor": "string",
    "order_no": "string",
    "restitution_no": "string",
    "un_flow": "string",
    "un_flow_used": "string",
    "un_status": true
}
Previous
GET Enterprise Balance
Next
GET ORDER STATUS
Built with