- CSSS APIs
- Overview
- Internationalization
- Status code
- Sign code Example
- SIM
- Usage
- Plan
- SMS
- Customized
- Notification
- Mall APIs
- eSIM QR Mall APIs
Query the package order information
Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
POST
/package/queryOrder
Request
Header Params
Accept-Language
string
optional
Default:
zh-CN
Content-Type
string
optional
Default:
application/json
Body Params application/json
access_code
string
required
device_id
string
optional
order_id
string
optional
order_status
string
optional
order_type
string
optional
page_no
integer
required
page_size
integer
required
timestamp
string
required
version
string
required
sign
string
required
Example
{
"access_code": "P000270",
"device_id": "",
"order_id": "",
"order_status": "",
"order_type": "",
"page_no": 1,
"page_size": 2,
"timestamp": "1643251754",
"version": "2.0",
"sign":"ZdFRHMM/ccYeb49Rys3wOCZXDpc="
}
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 'http://127.0.0.1/package/queryOrder' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_code": "P000270",
"device_id": "",
"order_id": "",
"order_status": "",
"order_type": "",
"page_no": 1,
"page_size": 2,
"timestamp": "1643251754",
"version": "2.0",
"sign":"ZdFRHMM/ccYeb49Rys3wOCZXDpc="
}'
Responses
🟢200Success
application/json
Body
code
string
required
data
object
required
page
object
required
sign
string
required
package_order
array [object {22}]
required
package_order_num
integer
required
message
string
required
success
boolean
required
Example
{
"code": "0000",
"data": {
"page": {
"cur_page_no": 1,
"page_size": 2,
"total_count": 105,
"total_pages": 53
},
"sign": "mcawIhwC6S7nEWGEic8qq8rB3pw=",
"package_order": [
{
"buyType": "2",
"expireDate": "",
"flow": "30",
"orderCode": "L201903020000000617",
"orderStatus": "1",
"orderDate": "20190302172719",
"orderPeriod": "1",
"packageCode": "PACKAGE20180428000007",
"packageName": "亚洲12国/地区产品二 30m/月",
"packageType": "2",
"usedFlow": "0",
"flowUseRate": null,
"orderUsedFlow": "0",
"supplierCode": null,
"refuelingPackageList": [],
"hasTestFlow": "0",
"profileList": null,
"isFlowPlus": null,
"deviceId": "89860012018111220455",
"device_id": "89860012018111220455",
"activeDate": "",
"main_iccid": null
},
{
"buyType": "2",
"expireDate": "",
"flow": "30",
"orderCode": "L201903030000000626",
"orderStatus": "1",
"orderDate": "20190303115048",
"orderPeriod": "1",
"packageCode": "PACKAGE20180428000007",
"packageName": "亚洲12国/地区产品二 30m/月",
"packageType": "2",
"usedFlow": "0",
"flowUseRate": null,
"orderUsedFlow": "0",
"supplierCode": null,
"refuelingPackageList": [],
"hasTestFlow": "0",
"profileList": null,
"isFlowPlus": null,
"deviceId": "89860012018111220455",
"device_id": "89860012018111220455",
"activeDate": "",
"main_iccid": null
}
],
"package_order_num": 2
},
"message": "成功",
"success": true
}
Modified at 2022-10-05 06:34:24