Create Allocation Order
POST
/eapi/order/allocate
EAPI
Request
Header Params
Authorization
string
required
Example:
Bearer
Body Params application/json
expire
string
required
flow
string
required
username
string
required
Example
{
"expire": "timestamp",
"flow": "0",
"username": "your user:pass username"
}
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/allocate' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"expire": "timestamp",
"flow": "0",
"username": "your user:pass username"
}'
Responses
🟢200
*/*
Body
code
integer
optional
msg
string
optional
error
optional
username
string
optional
passwd
string
optional
host
string
optional
port
string
optional
proto
string
optional
expire
string
optional
un
string
optional
order_flow
string
optional
order_flow_after
string
optional
order_flow_befor
string
optional
order_no
string
optional
restitution_no
string
optional
un_flow
string
optional
un_flow_used
string
optional
un_status
boolean
optional
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
}