Skip to main content

Obtain all data packets

  1. Interface description
  • Obtain all data packets
  1. Interface invocation
  • URL:/linklan_api/esim/v1/productList
  • Request method: POST
  1. Request parameters
NameTypeRequiredDescription
pageinttrueCurrent page number
limitinttrueDisplay the number of items
{
"data": {
"page": 1,
"limit": 10
}
}
  1. Response parameters
NameTypeDescription
pageintCurrent page number
countintDisplay the number of items
dataarray[object]Response data collection

data:

NameTypeDescription
codestringproduct number
namestringProduct name
unitstringUnit (days)
billing_periodstringdays
data_sizestringflow
cover_country_namestringSupported countries
inventoryintinventory

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
}
}