GET api/Locations
Retorna todos los paises.
Información de respuesta:
En los siguientes apartados de indican los formatos de respuesta. Para probar el servicio haga click en el boton probar api e ingrese su key en la cabecera del mensaje.
application/json, text/json
Ejemplo:
[ { "countryID": "sample string 1", "CountryCode": "sample string 2", "name": "sample string 3" }, { "countryID": "sample string 1", "CountryCode": "sample string 2", "name": "sample string 3" } ]
application/xml, text/xml
Ejemplo:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wtapi.Models"> <Country> <CountryCode>sample string 2</CountryCode> <countryID>sample string 1</countryID> <name>sample string 3</name> </Country> <Country> <CountryCode>sample string 2</CountryCode> <countryID>sample string 1</countryID> <name>sample string 3</name> </Country> </ArrayOfCountry>