Queries the region information supported by the rules engine, including information in three dimensions: country, region, and ISP.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DataId |
string |
Yes |
The configuration ID. Valid values:
|
condition_region_config_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EEEBE525-F576-1196-8DAF-2D70CA3F4D2F |
| Datas |
array<object> |
The data details. |
|
|
object |
The details of a single data entry. |
||
| Value |
string |
The returned data details, including the name of the country, ISP, or region and the corresponding identifier code. |
[{\"text\":\"安徽\",\"value\":\"340000\"},{\"text\":\"北京\",\"value\":\"110000\"},{\"text\":\"重庆\",\"value\":\"500000\"}] |
Examples
Success response
JSON format
{
"RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F\n",
"Datas": [
{
"Value": "[{\\\"text\\\":\\\"安徽\\\",\\\"value\\\":\\\"340000\\\"},{\\\"text\\\":\\\"北京\\\",\\\"value\\\":\\\"110000\\\"},{\\\"text\\\":\\\"重庆\\\",\\\"value\\\":\\\"500000\\\"}]"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.