Mobile 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
652quantityintegerRequiredExample:
Allocated traffic (MB)
1000remarkstringOptional
Order Remark
Responses
200Success
application/json
404Error
application/json
post
/v2/mobile/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:Mobile
Mobilededuction_amountnumberOptionalExample:
Deduction Amount(M),All resources are deducted when parameters are passed blank
25.5Responses
200Success
application/json
post
/v2/mobile/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
2680create_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/mobile/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_typestringRequiredExample:
Package Type:Mobile
MobilepageintegerOptionalExample:
page
1limitintegerOptionalExample:
page size
10Responses
200Success
application/json
post
/v2/mobile/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/mobile/sub_user_remainingLast updated