All Products
Search
Document Center

Microservices Engine:QueryBusinessLocations

Last Updated:May 08, 2025

Queries information about regions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data structure.

Messagestring

The message returned.

The parameter is invalid.
RequestIdstring

The ID of the request.

3369AD10-F1A6-4E6F-B99E-20F51826****
Dataarray<object>

The details of the data.

LocationDataobject

The returned information.

Orderinginteger

The ordering information.

6
Typestring

The type.

region
DistrictEnNamestring

The English name of the district.

Asia Pacific
ShowNamestring

The display name.

China (Shanghai)
DistrictCnNamestring

The Chinese name of the district.

Asia Pacific
EnNamestring

The English name of the region.

China (Shanghai)
DistrictIdstring

The ID of the region.

asia-pacific
DistrictShowNamestring

The display name of the district.

Asia Pacific
Descriptionstring

The description.

China (Shanghai)
EnDescriptionstring

The complete description of the region.

China East 2 (Shanghai)
CnNamestring

The Chinese name of the region.

China (Shanghai)
Namestring

The name.

cn-shanghai
DistrictOrderinginteger

The ordering information of the district.

101
ErrorCodestring

The error code returned if the request failed.

mse-100-000
Successstring

The result of the request.

true

Examples

Sample success responses

JSONformat

{
  "Message": "The parameter is invalid.\n",
  "RequestId": "3369AD10-F1A6-4E6F-B99E-20F51826****",
  "Data": [
    {
      "Ordering": 6,
      "Type": "region",
      "DistrictEnName": "Asia Pacific",
      "ShowName": "China (Shanghai)\n",
      "DistrictCnName": "Asia Pacific\n",
      "EnName": "China (Shanghai)",
      "DistrictId": "asia-pacific",
      "DistrictShowName": "Asia Pacific\n",
      "Description": "China (Shanghai)\n",
      "EnDescription": "China East 2 (Shanghai)",
      "CnName": "China (Shanghai)\n",
      "Name": "cn-shanghai",
      "DistrictOrdering": 101
    }
  ],
  "ErrorCode": "mse-100-000",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalRequestInvalid request:%sInvalid request: %s
400InvalidParameterParameter error:%sRequest parameter error: %s
403NoPermissionYou are not authorized to perform this operation:%sYou do not have the permission to use this interface:%s
404NotFoundNot found:%sThe resource does not exist:%s
500InternalErrorConsole error. Try again later:%sConsole error. Try again later: %s

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-24The internal configuration of the API is changed, but the call is not affectedView Change Details