API For Retrieve Enumerations Of The States In The United States

Description

Retrieve an enumeration of the states in the United States

Request URL

/open/api/card/enum/us/states

Request Method

GET

Response Parameter

Parameter
Type
Description

code

string

Code of State

value

string

Name of State

Response Example

{
    "success": true,
    "error":false,
    "msg": "success",
    "code": 0,
    "model": [
        {
            "code": "AL",
            "value": "Alabama"
        },
        {
            "code": "AK",
            "value": "Alaska"
        },
        {
            "code": "AZ",
            "value": "Arizona"
        },
        {
            "code": "AR",
            "value": "Arkansas"
        },
        {
            "code": "CA",
            "value": "California"
        },
        {
            "code": "CO",
            "value": "Colorado"
        },
        {
            "code": "CT",
            "value": "Connecticut"
        },
        {
            "code": "DE",
            "value": "Delaware"
        },
        {
            "code": "DC",
            "value": "Washington DC"
        },
        {
            "code": "FL",
            "value": "Florida"
        },
        {
            "code": "GA",
            "value": "Georgia"
        },
        {
            "code": "HI",
            "value": "Hawaii"
        },
        {
            "code": "ID",
            "value": "Idaho"
        },
        {
            "code": "IL",
            "value": "Illinois"
        },
        {
            "code": "IN",
            "value": "Indiana"
        },
        {
            "code": "IA",
            "value": "Iowa"
        },
        {
            "code": "KS",
            "value": "Kansas"
        },
        {
            "code": "KY",
            "value": "Kentucky"
        },
        {
            "code": "LA",
            "value": "Louisiana"
        },
        {
            "code": "ME",
            "value": "Maine"
        },
        {
            "code": "MD",
            "value": "Maryland"
        },
        {
            "code": "MA",
            "value": "Massachusetts"
        },
        {
            "code": "MI",
            "value": "Michigan"
        },
        {
            "code": "MN",
            "value": "Minnesota"
        },
        {
            "code": "MS",
            "value": "Mississippi"
        },
        {
            "code": "MO",
            "value": "Missouri"
        },
        {
            "code": "MT",
            "value": "Montana"
        },
        {
            "code": "NE",
            "value": "Nebraska"
        },
        {
            "code": "NV",
            "value": "Nevada"
        },
        {
            "code": "NH",
            "value": "New Hampshire"
        },
        {
            "code": "NJ",
            "value": "New Jersey"
        },
        {
            "code": "NM",
            "value": "New Mexico"
        },
        {
            "code": "NY",
            "value": "New York"
        },
        {
            "code": "NC",
            "value": "North Carolina"
        },
        {
            "code": "ND",
            "value": "North Dakota"
        },
        {
            "code": "OH",
            "value": "Ohio"
        },
        {
            "code": "OK",
            "value": "Oklahoma"
        },
        {
            "code": "OR",
            "value": "Oregon"
        },
        {
            "code": "PA",
            "value": "Pennsylvania"
        },
        {
            "code": "RI",
            "value": "Rhode Island"
        },
        {
            "code": "SC",
            "value": "South Carolina"
        },
        {
            "code": "SD",
            "value": "South Dakota"
        },
        {
            "code": "TN",
            "value": "Tennessee"
        },
        {
            "code": "TX",
            "value": "Texas"
        },
        {
            "code": "UT",
            "value": "Utah"
        },
        {
            "code": "VT",
            "value": "Vermont"
        },
        {
            "code": "VA",
            "value": "Virginia"
        },
        {
            "code": "WA",
            "value": "Washington"
        },
        {
            "code": "WV",
            "value": "West Virginia"
        },
        {
            "code": "WI",
            "value": "Wisconsin"
        },
        {
            "code": "WY",
            "value": "Wyoming"
        }
    ],
    "traceId": 1644805431313
}

Last updated