PUT api/catGeneros/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
catGenero| Name | Description | Type | Additional information |
|---|---|---|---|
| idGenero | globally unique identifier |
None. |
|
| codigo | string |
None. |
|
| Genero | string |
None. |
|
| Persona | Collection of Persona |
None. |
Request Formats
application/json, text/json
Sample:
{
"idGenero": "a7c1041a-0513-403c-bf90-f18adb4724d8",
"codigo": "sample string 2",
"Genero": "sample string 3",
"Persona": {
"$id": "2",
"$values": [
{
"$id": "3",
"idPersona": "067d9f7f-8c21-4e8d-8ee7-5306cfc2aa7d",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"idGenero": "cf5624a5-391e-49f3-8980-8fadad1bc3ed",
"fecNace": "2026-06-18T03:16:03.0352666+00:00",
"idLugarNace": "ff36a5bb-9bc1-4fbf-9171-fc699ad33b8f",
"idNacionalidad": "010c508d-f47f-4553-8e73-1248c81c36bd",
"idEstadoCivil": "bcedaaae-b9fd-471c-9405-a73fc31f22be",
"CURP": "sample string 10",
"RFC": "sample string 11",
"idReligion": "1d400c3f-25bb-4145-9f66-6e5fc1f2506b",
"catEstadoCivil": {
"$id": "4",
"idEstadoCivil": "a370ff33-c350-437b-b674-eb320e988159",
"codigo": "sample string 2",
"EstadoCivil": "sample string 3",
"Persona": {
"$id": "5",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catGenero": {
"$ref": "1"
},
"catLugarNace": {
"$id": "6",
"idLugarNace": "12f72f74-656e-4f58-8a8b-c965b3a7a384",
"numLugarNace": "sample string 2",
"codLugarNace": "sample string 3",
"nomLugarNace": "sample string 4",
"Persona": {
"$id": "7",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catNacionalidad": {
"$id": "8",
"idNacionalidad": "17b9756a-d1fd-4309-851f-df4f2ad305e3",
"codigo": "sample string 2",
"Nacionalidad": "sample string 3",
"Persona": {
"$id": "9",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
}
},
{
"$ref": "3"
}
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.