POST v1/api/GetEnumData
Get Enum Data
Request Information
URI Parameters
None.
Body Parameters
EnumDto
EnumDtoName | Description | Type | Additional information |
---|---|---|---|
Names | Collection of string |
None. |
Request Formats
application/json
Sample:
REQUEST { "Names": [ "StateCodeEnum", "GenderEnum" ] }
Response Information
Resource Description
success
Collection of EnumResponseDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Values | Collection of EnumValuesDto |
None. |
Response Formats
application/json
Sample:
RESPONSE [ { "Name": "StateCodeEnum", "Values": [ { "Name": "NOTSET", "Value": "Not Set", "Description": "Not Set", "Ordinal": "0" }, { "Name": "AK", "Value": "Alaska", "Description": "Alaska", "Ordinal": "1" }, { "Name": "AL", "Value": "Alabama", "Description": "Alabama", "Ordinal": "2" }, { "Name": "AR", "Value": "Arkansas", "Description": "Arkansas", "Ordinal": "3" }, { "Name": "AZ", "Value": "Arizona", "Description": "Arizona", "Ordinal": "4" }, { "Name": "CA", "Value": "California", "Description": "California", "Ordinal": "5" }, { "Name": "CO", "Value": "Colorado", "Description": "Colorado", "Ordinal": "6" }, { "Name": "CT", "Value": "Connecticut", "Description": "Connecticut", "Ordinal": "7" }, { "Name": "DC", "Value": "District of Columbia", "Description": "District of Columbia", "Ordinal": "8" }, { "Name": "DE", "Value": "Delaware", "Description": "Delaware", "Ordinal": "9" }, { "Name": "FL", "Value": "Florida", "Description": "Florida", "Ordinal": "10" }, { "Name": "GA", "Value": "Georgia", "Description": "Georgia", "Ordinal": "11" }, { "Name": "HI", "Value": "Hawaii", "Description": "Hawaii", "Ordinal": "12" }, { "Name": "IA", "Value": "Iowa", "Description": "Iowa", "Ordinal": "13" }, { "Name": "ID", "Value": "Idaho", "Description": "Idaho", "Ordinal": "14" }, { "Name": "IL", "Value": "Illinois", "Description": "Illinois", "Ordinal": "15" }, { "Name": "IN", "Value": "Indiana", "Description": "Indiana", "Ordinal": "16" }, { "Name": "KS", "Value": "Kansas", "Description": "Kansas", "Ordinal": "17" }, { "Name": "KY", "Value": "Kentucky", "Description": "Kentucky", "Ordinal": "18" }, { "Name": "LA", "Value": "Louisiana", "Description": "Louisiana", "Ordinal": "19" }, { "Name": "MA", "Value": "Massachusetts", "Description": "Massachusetts", "Ordinal": "20" }, { "Name": "MD", "Value": "Maryland", "Description": "Maryland", "Ordinal": "21" }, { "Name": "ME", "Value": "Maine", "Description": "Maine", "Ordinal": "22" }, { "Name": "MI", "Value": "Michigan", "Description": "Michigan", "Ordinal": "23" }, { "Name": "MN", "Value": "Minnesota", "Description": "Minnesota", "Ordinal": "24" }, { "Name": "MO", "Value": "Missouri", "Description": "Missouri", "Ordinal": "25" }, { "Name": "MS", "Value": "Mississippi", "Description": "Mississippi", "Ordinal": "26" }, { "Name": "MT", "Value": "Montana", "Description": "Montana", "Ordinal": "27" }, { "Name": "NC", "Value": "North Carolina", "Description": "North Carolina", "Ordinal": "28" }, { "Name": "ND", "Value": "North Dakota", "Description": "North Dakota", "Ordinal": "29" }, { "Name": "NE", "Value": "Nebraska", "Description": "Nebraska", "Ordinal": "30" }, { "Name": "NH", "Value": "New Hampshire", "Description": "New Hampshire", "Ordinal": "31" }, { "Name": "NJ", "Value": "New Jersey", "Description": "New Jersey", "Ordinal": "32" }, { "Name": "NM", "Value": "New Mexico", "Description": "New Mexico", "Ordinal": "33" }, { "Name": "NV", "Value": "Nevada", "Description": "Nevada", "Ordinal": "34" }, { "Name": "NY", "Value": "New York", "Description": "New York", "Ordinal": "35" }, { "Name": "OH", "Value": "Ohio", "Description": "Ohio", "Ordinal": "36" }, { "Name": "OK", "Value": "Oklahoma", "Description": "Oklahoma", "Ordinal": "37" }, { "Name": "OR", "Value": "Oregon", "Description": "Oregon", "Ordinal": "38" }, { "Name": "PA", "Value": "Pennsylvania", "Description": "Pennsylvania", "Ordinal": "39" }, { "Name": "RI", "Value": "Rhode Island", "Description": "Rhode Island", "Ordinal": "40" }, { "Name": "SC", "Value": "South Carolina", "Description": "South Carolina", "Ordinal": "41" }, { "Name": "SD", "Value": "South Dakota", "Description": "South Dakota", "Ordinal": "42" }, { "Name": "TN", "Value": "Tennessee", "Description": "Tennessee", "Ordinal": "43" }, { "Name": "TX", "Value": "Texas", "Description": "Texas", "Ordinal": "44" }, { "Name": "UT", "Value": "Utah", "Description": "Utah", "Ordinal": "45" }, { "Name": "VA", "Value": "Virginia", "Description": "Virginia", "Ordinal": "46" }, { "Name": "VT", "Value": "Vermont", "Description": "Vermont", "Ordinal": "47" }, { "Name": "WA", "Value": "Washington", "Description": "Washington", "Ordinal": "48" }, { "Name": "WI", "Value": "Wisconsin", "Description": "Wisconsin", "Ordinal": "49" }, { "Name": "WV", "Value": "West Virginia", "Description": "West Virginia", "Ordinal": "50" }, { "Name": "WY", "Value": "Wyoming", "Description": "Wyoming", "Ordinal": "51" }, { "Name": "AS", "Value": "American Somoa", "Description": "American Somoa", "Ordinal": "52" }, { "Name": "FM", "Value": "Federated State of Micronesia", "Description": "Federated State of Micronesia", "Ordinal": "53" }, { "Name": "GU", "Value": "Guam", "Description": "Guam", "Ordinal": "54" }, { "Name": "MH", "Value": "Marshall Islands", "Description": "Marshall Islands", "Ordinal": "55" }, { "Name": "MP", "Value": "Northern Mariana Islands", "Description": "Northern Mariana Islands", "Ordinal": "56" }, { "Name": "PW", "Value": "Palau", "Description": "Palau", "Ordinal": "57" }, { "Name": "PR", "Value": "Puetro Rico", "Description": "Puetro Rico", "Ordinal": "58" }, { "Name": "VI", "Value": "Virgin Islands", "Description": "Virgin Islands", "Ordinal": "59" } ] }, { "Name": "GenderEnum", "Values": [ { "Name": "Unknown", "Value": "Unknown", "Description": "Unknown", "Ordinal": "0" }, { "Name": "Female", "Value": "Female", "Description": "Female", "Ordinal": "1" }, { "Name": "Male", "Value": "Male", "Description": "Male", "Ordinal": "2" }, { "Name": "Company", "Value": "Company", "Description": "Company", "Ordinal": "3" } ] } ]