Traffic Management
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
langstringOptionalDefault:
Language:en|cn
enExample: enBody
sub_uidintegerRequiredExample:
The id of the sub-user
123quantityintegerRequiredExample:
Allocated traffic (MB)
1000remarkstringOptional
Order Remark
Responses
200Success
application/json
404Error
application/json
post
/v2/residential/allocateAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
langstringOptionalDefault:
Language:en|cn
enExample: enBody
sub_uidintegerRequiredExample:
The id of the sub-user
123package_typestringRequiredExample:
Package Type:Residential
Residentialdeduction_amountnumberOptionalExample:
Deduction Amount(M),All resources are deducted when parameters are passed blank
25.5Responses
200Success
application/json
post
/v2/residential/deduct200Success
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
langstringOptionalDefault:
Language:en|cn
enExample: enBody
sub_uidintegerRequiredExample:
The id of the sub-user
123create_time_startstringOptional
Time allocation starts (timestamp)
create_time_endstringOptional
End of time allocation (timestamp)(timestamp)
pageintegerRequiredExample:
page number
1limitintegerRequiredExample:
Number of entries returned per page
10Responses
200Success
application/json
404Error
application/json
post
/v2/residential/distribution_historyAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
langstringOptionalDefault:
Language:en|cn
enExample: enBody
sub_uidintegerRequiredExample:
The id of the sub-user
2680package_typestringRequired
Package Type:Residential
pageintegerOptionalExample:
page
1limitintegerOptionalExample:
page size
10Responses
200Success
application/json
post
/v2/residential/deduct_history200Success
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
langstringOptionalDefault:
Language:en|cn
enExample: enBody
sub_uidintegerRequiredExample:
The id of the sub-user
123Responses
200Success
application/json
404Error
application/json
post
/v2/residential/sub_user_remainingLast updated