GET api/Cantones/Provincia/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Canton| Name | Description | Type | Additional information |
|---|---|---|---|
| idCanton | integer |
None. |
|
| idProvincia | integer |
Required |
|
| canton1 | string |
Required String length: inclusive between 0 and 200 |
|
| activo | boolean |
None. |
|
| borrado | date |
Data type: DateTime |
|
| Provincia | Provincia |
None. |
|
| Parroquia | Collection of Parroquia |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"idCanton": 1,
"idProvincia": 2,
"canton1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.4036797+00:00",
"Provincia": {
"idProvincia": 1,
"idPais": 2,
"provincia1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.4192099+00:00",
"Pais": {
"idPais": 1,
"idContinente": 2,
"pais1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.5129603+00:00",
"Continente": {
"idContinente": 1,
"continente1": "sample string 2",
"activo": true,
"borrado": "2025-10-30T03:11:52.5129603+00:00"
}
}
}
},
{
"idCanton": 1,
"idProvincia": 2,
"canton1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.4036797+00:00",
"Provincia": {
"idProvincia": 1,
"idPais": 2,
"provincia1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.4192099+00:00",
"Pais": {
"idPais": 1,
"idContinente": 2,
"pais1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T03:11:52.5129603+00:00",
"Continente": {
"idContinente": 1,
"continente1": "sample string 2",
"activo": true,
"borrado": "2025-10-30T03:11:52.5129603+00:00"
}
}
}
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.