...
Development URL | Deployed URL | Expected Response | Notes |
---|---|---|---|
| empty list in CSV format |
| |
| empty list in CSV format |
| |
| List list in CSV format for given country code string. | Country code in uppercase is valid. | |
| empty list in CSV format | Country code in lowercase is invalid. | |
http://localhost/ws/ref/subnational2/list?countryCode=US&format=xml |
| List list in CSV format for given country code string. |
|
http://localhost/ws/ref/subnational2/list?countryCode=US&format=XML |
| List list in CSV format for given country code string. | "XML" is not a valid format option. Only "xml" and "csv" are valid options. |
http://localhost/ws/ref/subnational2/list?countryCode=US&format= |
| List list in CSV format for given country code string. | Bad format value is ignored and defaulted to csv. |
http://localhost/ws/ref/subnational2/list?countryCode=US&format=QQQ |
| List list in CSV format for given country code string. | Bad format value is ignored and defaulted to csv. |
| entire list in CSV format | "csv" is the default format. | |
http://localhost/ws/ref/subnational2/list?subnational1Code=US-NY |
| entire list in CSV format | Subnational1 code in uppercase is valid. |
http://localhost/ws/ref/subnational2/list?subnational1Code=us-ny |
| empty list in CSV format | Subnational1 code in lowercase is invalid. |
http://localhost/ws/ref/subnational2/list?subnational1Code=US-NY&format=xml |
| entire list in XML format |
|
http://localhost/ws/ref/subnational2/list?subnational1Code=US-NY&format= |
| entire list in CSV format | Bad format value is ignored and defaulted to csv. |
http://localhost/ws/ref/subnational2/list?subnational1Code=US-NY&format=QQQ |
| entire list in CSV format | Bad format value is ignored and defaulted to csv. |
| list of counties in CSV format matches given string |
| |
| list of counties in CSV format matches given string | There should be no difference in response for upper/lower case search strings. | |
http://localhost/ws/ref/subnational2/find?match=clay&format=xml |
| list of counties in XML format matches given string |
|
http://localhost/ws/ref/subnational2/find?match=clay&format= |
| list of counties in CSV format matches given string | Bad format value is ignored and defaulted to csv. |
http://localhost/ws/ref/subnational2/find?match=clay&format=QQQ |
| list of counties in CSV format matches given string | Bad format value is ignored and defaulted to csv. |
| empty list in CSV format |
|
...