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": "ef4463fa-3181-49ff-9109-3a6c8dcf2dab",
"codigo": "sample string 2",
"Genero": "sample string 3",
"Persona": {
"$id": "2",
"$values": [
{
"$id": "3",
"idPersona": "34b45c1d-c712-460d-9721-188305180cce",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"idGenero": "be7ba39b-6116-4758-8eba-6c0c9d539ac5",
"fecNace": "2026-08-12T14:49:12.6269364+00:00",
"idLugarNace": "6329d973-0683-4754-8ef8-89edc8e74e2c",
"idNacionalidad": "ae83b16c-3953-480d-9bfa-aef6f5ef0554",
"idEstadoCivil": "6457e4c9-a961-4038-b222-4f5a6ca23f99",
"CURP": "sample string 10",
"RFC": "sample string 11",
"idReligion": "e03899cc-40e5-487e-a42a-8b8d6bcd67de",
"catEstadoCivil": {
"$id": "4",
"idEstadoCivil": "fa92922c-5204-4723-afcb-05c564098dfd",
"codigo": "sample string 2",
"EstadoCivil": "sample string 3",
"Persona": {
"$id": "5",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catGenero": {
"$ref": "1"
},
"catLugarNace": {
"$id": "6",
"idLugarNace": "9c152fbd-ab6d-445a-a67a-533d4d2c82aa",
"numLugarNace": "sample string 2",
"codLugarNace": "sample string 3",
"nomLugarNace": "sample string 4",
"Persona": {
"$id": "7",
"$values": [
{
"$ref": "3"
},
{
"$ref": "3"
}
]
}
},
"catNacionalidad": {
"$id": "8",
"idNacionalidad": "a6e0e571-5a14-47ce-9d2b-a3d113c51724",
"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.