getRegionList
    • PDF

    getRegionList

    • PDF

    Article summary

    Overview

    Search a region list

    Description

    Search an available region list.

    Response Data Type

    • RegionList type
    RegionList
    private List regionList = new ArrayList();
    Region extends CommonResponse
    private String regionNo;
    private String regionCode;
    private String regionName;

    Examples

    Request

    ncloud server getRegionList
    

    Response

    {
      "getRegionListResponse": {
        "requestId": "6b9443a0-7946-4322-b79f-2c64db4743dd",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 6,
        "regionList": [
          {
            "regionNo": "0",
            "regionCode": "COM",
            "regionName": "Common"
          },
          {
            "regionNo": "1",
            "regionCode": "KR",
            "regionName": "Korea"
          },  
          {
            "regionNo": "7",
            "regionCode": "SGN",
            "regionName": "Singapore(New)"
          },    
          {
            "regionNo": "8",
            "regionCode": "JPN",
            "regionName": "Japan(New)"
          },    
          {
            "regionNo": "9",
            "regionCode": "USWN",
            "regionName": "US-West(New)"
          },
          {
            "regionNo": "10",
            "regionCode": "DEN",
            "regionName": "Germany(New)"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8"?>
    <getRegionListResponse>
        <requestId>77d2e167-46b4-44f6-bfbd-cab044efe5be</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>6</totalRows>
        <regionList>
            <region>
                <regionNo>0</regionNo>
                <regionCode>COM</regionCode>
                <regionName>Common</regionName>
            </region>
            <region>
                <regionNo>1</regionNo>
                <regionCode>KR</regionCode>
                <regionName>Korea</regionName>
            </region>
            <region>
                <regionNo>7</regionNo>
                <regionCode>SGN</regionCode>
                <regionName>Singapore(New)</regionName>
            </region>
            <region>
                <regionNo>8</regionNo>
                <regionCode>JPN</regionCode>
                <regionName>Japan(New)</regionName>
            </region>
            <region>
                <regionNo>9</regionNo>
                <regionCode>USWN</regionCode>
                <regionName>US-West(New)</regionName>
            </region>
            <region>
                <regionNo>10</regionNo>
                <regionCode>DEN</regionCode>
                <regionName>Germany(New)</regionName>
            </region>
        </regionList>
    </getRegionListResponse>
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.