...
Development URL | Deployed URL | Expected Response | Notes |
|---|---|---|---|
|
| What do we want here? 404? Redirect to /ws/ref/subnational1/list? | |
| entire list in CSV format | "csv" is the default format. | |
| entire list in XML format |
| |
| entire list in CSV format |
| |
| entire list in CSV format | Bad format value is ignored and defaulted to csv. | |
| entire list in CSV format | "XML" is not a valid format option. Only "xml" and "csv" are valid options. | |
| CSV list of all states for given country code string | Country code string in uppercase is valid. | |
http://localhost/ws/ref/subnational1/list?countryCode=US&format=xml |
| XML list of all states for given country code string |
|
| empty list in CSV format | Country code string in lowercase is invalid. | |
| entire list in CSV format |
| |
| CSV list of 19 subnational1 codes states |
| |
http://localhost/ws/ref/subnational1/find?match=new&format=xml |
| XML list of 19 subnational1 codes states |
|
| CSV list of 19 subnational1 codes states | There should be no difference in response for upper/lower case search strings. | |
| entire list in CSV format | Bad format value is ignored and defaulted to csv. | |
| empty list in CSV format |
|
...