PUT api/Cantones/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "idCanton": 1,
  "idProvincia": 2,
  "canton1": "sample string 3",
  "activo": true,
  "borrado": "2024-12-22T23:58:03.1983466+00:00",
  "Provincia": {
    "idProvincia": 1,
    "idPais": 2,
    "provincia1": "sample string 3",
    "activo": true,
    "borrado": "2024-12-22T23:58:03.1983466+00:00",
    "Pais": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:58:03.1983466+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:58:03.1983466+00:00"
      }
    }
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.