Obtain all data packets
- Interface description
- Obtain all data packets
- Interface invocation
- URL:/linklanApi/esim/v1/productList
- Request method: POST
- Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | int | true | Current page number |
| limit | int | true | Display the number of items |
{
"data": {
"page": 1,
"limit": 10
}
}
- Response parameters
data:
| Name | Type | Description |
|---|---|---|
| packageList | array[object] | Response data collection |
| page | int | Current page number |
| count | int | Display the number of items |
packageList:
| Name | Type | Description |
|---|---|---|
| packageCode | string | product number |
| packageName | string | Product name |
| unit | string | Unit (days) |
| billingPeriod | string | days |
| dataSize | string | flow |
| coverCountryName | string | Supported countries |
| inventory | int | inventory |
| price | string | price, expressed *10000 (100000 = $10.00) |
JSON Example
{
"code": 200,
"msg": "success",
"data": {
"packageList": [
{
"packageCode": "CNNHK50g30d",
"packageName": "中国大陆50GB 30天(不含港澳)",
"billingPeriod": "30",
"unit": "天",
"dataSize": "50GB",
"coverCountryName": "China",
"inventory": 10,
"price": 0.00
},
{
"packageCode": "CNNHK20g30d",
"packageName": "中国大陆20GB 30天(不含港澳)",
"billingPeriod": "30",
"unit": "天",
"dataSize": "20GB",
"coverCountryName": "China",
"inventory": 10,
"price": 0.00
}
],
"page": 1,
"count": 5
}
}