Order a data plan for a single device/ SIM card in your enterprise.
Request
Body Params application/json
{
"access_code": "P000270",
"device_id": "89852022018041800192",
"global_order": "0",
"is_open": "0",
"order_period": "1",
"package_code": "DP20190726001274",
"package_name": "C_M_0_P_中国20M不限速月套餐",
"package_type": "2",
"pay_amount": "0",
"pay_rst": "1",
"pay_type": "2",
"test_flow": "0",
"test_flow_flag": "0",
"timestamp": "1643253530",
"version": "2.0",
"sign":"zOoyHBVtE/pOeA7nOuzCLvAg8d8="
}
Request Code Samples
curl --location --request POST 'http://127.0.0.1/package/orderPackage' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_code": "P000270",
"device_id": "89852022018041800192",
"global_order": "0",
"is_open": "0",
"order_period": "1",
"package_code": "DP20190726001274",
"package_name": "C_M_0_P_中国20M不限速月套餐",
"package_type": "2",
"pay_amount": "0",
"pay_rst": "1",
"pay_type": "2",
"test_flow": "0",
"test_flow_flag": "0",
"timestamp": "1643253530",
"version": "2.0",
"sign":"zOoyHBVtE/pOeA7nOuzCLvAg8d8="
}'
Responses
application/json {
"code": "0000",
"data": {
"sign": null,
"order_id": "ORDER_47452122261749760",
"order_start_date": null,
"order_expire_date": null
},
"message": "成功",
"success": true
}
Modified at 2022-10-05 06:21:24