GET api/Cantones/Provincia/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Canton
NameDescriptionTypeAdditional 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": "2024-12-22T23:57:39.0772113+00:00",
    "Provincia": {
      "idProvincia": 1,
      "idPais": 2,
      "provincia1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:57:39.0772113+00:00",
      "Pais": {
        "idPais": 1,
        "idContinente": 2,
        "pais1": "sample string 3",
        "activo": true,
        "borrado": "2024-12-22T23:57:39.0772113+00:00",
        "Continente": {
          "idContinente": 1,
          "continente1": "sample string 2",
          "activo": true,
          "borrado": "2024-12-22T23:57:39.0772113+00:00"
        }
      }
    }
  },
  {
    "idCanton": 1,
    "idProvincia": 2,
    "canton1": "sample string 3",
    "activo": true,
    "borrado": "2024-12-22T23:57:39.0772113+00:00",
    "Provincia": {
      "idProvincia": 1,
      "idPais": 2,
      "provincia1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:57:39.0772113+00:00",
      "Pais": {
        "idPais": 1,
        "idContinente": 2,
        "pais1": "sample string 3",
        "activo": true,
        "borrado": "2024-12-22T23:57:39.0772113+00:00",
        "Continente": {
          "idContinente": 1,
          "continente1": "sample string 2",
          "activo": true,
          "borrado": "2024-12-22T23:57:39.0772113+00:00"
        }
      }
    }
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.