GET api/Locations/getStates?CountryCode={CountryCode}
Retorna todas las provincias
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
CountryCode |
Define this parameter in the request URI. |
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:
[ { "stateID": "sample string 1", "name": "sample string 2" }, { "stateID": "sample string 1", "name": "sample string 2" } ]
application/xml, text/xml
Ejemplo:
<ArrayOfState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wtapi.Models"> <State> <name>sample string 2</name> <stateID>sample string 1</stateID> </State> <State> <name>sample string 2</name> <stateID>sample string 1</stateID> </State> </ArrayOfState>