Obtain all data packets
- Interface description
- Obtain all data packets
- Interface invocation
- URL:/linklan_api/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
| Name | Type | Description |
|---|---|---|
| page | int | Current page number |
| count | int | Display the number of items |
| data | array[object] | Response data collection |
data:
| Name | Type | Description |
|---|---|---|
| code | string | product number |
| name | string | Product name |
| unit | string | Unit (days) |
| billing_period | string | days |
| data_size | string | flow |
| cover_country_name | string | Supported countries |
| inventory | int | inventory |
JSON Example
{
"code": 200,
"msg": "success",
"data": {
"data": [
{
"code": "CNNHK50g30d",
"name": "中国大陆50GB 30天(不含港澳)",
"billing_period": "30",
"unit": "天",
"data_size": "50GB",
"cover_country_name": "China",
"inventory": 10
},
{
"code": "CNNHK20g30d",
"name": "中国大陆20GB 30天(不含港澳)",
"billing_period": "30",
"unit": "天",
"data_size": "20GB",
"cover_country_name": "China",
"inventory": 10
}
],
"page": 1,
"count": 5
}
}