Queries connected areas.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeCenGeographicSpans

The operation that you want to perform. Set the value to DescribeCenGeographicSpans.

PageNumber Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page. Maximum value: 50. Default value: 10.

GeographicSpanId String No china_china

The ID of the connected area.

Response parameters

Parameter Type Example Description
RequestId String 4EC47282-1B74-4534-BD0E-403F3EE64CAF

The ID of the request.

TotalCount Integer 20

The number of connected areas.

PageNumber Integer 1

The number of the returned page.

PageSize Integer 12

The number of entries returned per page.

GeographicSpanModels Array

Detailed information about the connected areas.

GeographicSpanId String china_china

The ID of the connected area.

LocalGeoRegionId String china

Area A.

OppositeGeoRegionId String china

Area B.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeCenGeographicSpans
&<Common request parameters>

Sample success responses

XML format

<DescribeCenGeographicSpansResponse>
	  <PageNumber>1</PageNumber>
	  <TotalCount>1</TotalCount>
	  <PageSize>10</PageSize>
	  <RequestId>09780287-BC24-4164-8334-773432E32696</RequestId>
	  <GeographicSpanModels>
		    <GeographicSpanModel>
			      <OppositeGeoRegionId>china</OppositeGeoRegionId>
			      <LocalGeoRegionId>asia-pacific</LocalGeoRegionId>
			      <GeographicSpanId>china_asia-pacific</GeographicSpanId>
		    </GeographicSpanModel>
	  </GeographicSpanModels>
</DescribeCenGeographicSpansResponse>

JSON format

{
"PageNumber": 1,
	"TotalCount": 1,
	"PageSize": 10,
	"RequestId": "09780287-BC24-4164-8334-773432E32696",
	"GeographicSpanModels": {
		"GeographicSpanModel": [
			{
				"OppositeGeoRegionId": "china",
				"LocalGeoRegionId": "asia-pacific",
				"GeographicSpanId": "china_asia-pacific"
			}
        ]
	}
}

Error codes

For a list of error codes, visit the API Error Center.