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