GET api/Provincia
Obtiene todas las provincias del sistema.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Provincia| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Pais | Pais |
None. |
|
| Nombre | string |
None. |
|
| Predeterminado | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Pais": {
"Id": 0,
"Nombre": ""
},
"Nombre": "SANTA FE",
"Predeterminado": true
}
]
application/xml, text/xml
Sample:
<ArrayOfProvincia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClasesMutual">
<Provincia>
<Id>1</Id>
<Nombre>SANTA FE</Nombre>
<Pais>
<Id>0</Id>
<Nombre></Nombre>
</Pais>
<Predeterminado>true</Predeterminado>
</Provincia>
</ArrayOfProvincia>