/basicOpen/multiplatform/profit/report/stateList{
"operation": {
"method": "POST",
"path": "/basicOpen/multiplatform/profit/report/stateList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/profit/report/stateList?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"countryCode\":\"AF\"\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "ccafcc7d9a72484fac5a3889b5db2986.231.17611516492143035",
"response_time": "2025-10-23 00:47:29",
"data": {
"states": [
{
"countryCode": "AF",
"stateOrProvinceName": "Baghlan",
"code": "BGL"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Balkh",
"code": "BAL"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Bamyan",
"code": "BAM"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Faryab",
"code": "FYB"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Helmand",
"code": "HEL"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Herat",
"code": "HER"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Kabul",
"code": "KAB"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Kandahar",
"code": "KAN"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Khost",
"code": "KHO"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Kunduz",
"code": "KDZ"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Logar",
"code": "LOG"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Nangarhar",
"code": "NAN"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Nimroz",
"code": "NIM"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Paktika",
"code": "PKA"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Paktiya",
"code": "PIA"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Parwan",
"code": "PAR"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Takhar",
"code": "TAK"
},
{
"countryCode": "AF",
"stateOrProvinceName": "Uruzgan",
"code": "URU"
}
]
},
"total": 18
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | countryCode | 国家编码 | string | — | Required | 国家编码,二字码 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | number | 0 | Required | 状态码,0:成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 数据校验失败时的错误详情 | array<any> | [] | Required | 数据校验失败时的错误详情 |
| 4 | request_id | 请求链路id | string | ccafcc7d9a72484fac5a3889b5db2986.231.17611516492143035 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2025-10-23 00:47:29 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | states | 州/省列表 | array<object> | — | Required | 州/省列表 |
| 6.1.1 | countryCode | 国家编码 | string | AF | Required | 国家编码 |
| 6.1.2 | stateOrProvinceName | 州/省名称 | string | Baghlan | Required | 州/省名称 |
| 6.1.3 | code | 州/省编码 | string | BGL | Required | 州/省编码 |
| 7 | total | 总数 | number | 18 | Required | 总数 |
The 获取国家下的州、省编码 API (/basicOpen/multiplatform/profit/report/stateList) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.