DELETE api/Afiliados/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Afiliados| Name | Description | Type | Additional information |
|---|---|---|---|
| id_persona | integer |
None. |
|
| id_tipo_de_persona_dtipo_de_persona | integer |
None. |
|
| id_facultad_dfacultad | integer |
None. |
|
| codigo | string |
String length: inclusive between 0 and 10 |
|
| nombre_persona | string |
String length: inclusive between 0 and 50 |
|
| apellido_paterno | string |
String length: inclusive between 0 and 50 |
|
| apellido_materno | string |
String length: inclusive between 0 and 50 |
|
| direccion | string |
String length: inclusive between 0 and 100 |
|
| telefono | string |
String length: inclusive between 0 and 20 |
|
| celular | string |
String length: inclusive between 0 and 20 |
|
| correo | string |
String length: inclusive between 0 and 50 |
|
| imagen | string |
String length: inclusive between 0 and 200 |
|
| nveces_persona | integer |
None. |
|
| fecha_nombramiento | date |
None. |
|
| DNI | string |
String length: inclusive between 0 and 12 |
|
| cuenta_BN | string |
String length: inclusive between 0 and 15 |
|
| fecha_nac | date |
None. |
|
| tipo_persona | string |
String length: inclusive between 0 and 50 |
|
| tipo_afiliado | string |
String length: inclusive between 0 and 50 |
|
| facultad | string |
String length: inclusive between 0 and 50 |
|
| id_afiliacion | integer |
None. |
|
| id_persona_dpersona | integer |
None. |
|
| fecha_de_afiliacion | date |
None. |
|
| fecha_de_cesantia | date |
None. |
|
| nveces | integer |
None. |
|
| fecha_de_desafiliacion | date |
None. |
|
| Directorio | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id_persona": 1,
"id_tipo_de_persona_dtipo_de_persona": 1,
"id_facultad_dfacultad": 1,
"codigo": "sample string 2",
"nombre_persona": "sample string 3",
"apellido_paterno": "sample string 4",
"apellido_materno": "sample string 5",
"direccion": "sample string 6",
"telefono": "sample string 7",
"celular": "sample string 8",
"correo": "sample string 9",
"imagen": "sample string 10",
"nveces_persona": 1,
"fecha_nombramiento": "2025-12-06T05:01:40.3101428+00:00",
"DNI": "sample string 11",
"cuenta_BN": "sample string 12",
"fecha_nac": "2025-12-06T05:01:40.3101428+00:00",
"tipo_persona": "sample string 13",
"tipo_afiliado": "sample string 14",
"facultad": "sample string 15",
"id_afiliacion": 16,
"id_persona_dpersona": 17,
"fecha_de_afiliacion": "2025-12-06T05:01:40.3101428+00:00",
"fecha_de_cesantia": "2025-12-06T05:01:40.3101428+00:00",
"nveces": 18,
"fecha_de_desafiliacion": "2025-12-06T05:01:40.3101428+00:00",
"Directorio": true
}
application/xml, text/xml
Sample:
<Afiliados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSecedo.Models"> <DNI>sample string 11</DNI> <Directorio>true</Directorio> <apellido_materno>sample string 5</apellido_materno> <apellido_paterno>sample string 4</apellido_paterno> <celular>sample string 8</celular> <codigo>sample string 2</codigo> <correo>sample string 9</correo> <cuenta_BN>sample string 12</cuenta_BN> <direccion>sample string 6</direccion> <facultad>sample string 15</facultad> <fecha_de_afiliacion>2025-12-06T05:01:40.3101428+00:00</fecha_de_afiliacion> <fecha_de_cesantia>2025-12-06T05:01:40.3101428+00:00</fecha_de_cesantia> <fecha_de_desafiliacion>2025-12-06T05:01:40.3101428+00:00</fecha_de_desafiliacion> <fecha_nac>2025-12-06T05:01:40.3101428+00:00</fecha_nac> <fecha_nombramiento>2025-12-06T05:01:40.3101428+00:00</fecha_nombramiento> <id_afiliacion>16</id_afiliacion> <id_facultad_dfacultad>1</id_facultad_dfacultad> <id_persona>1</id_persona> <id_persona_dpersona>17</id_persona_dpersona> <id_tipo_de_persona_dtipo_de_persona>1</id_tipo_de_persona_dtipo_de_persona> <imagen>sample string 10</imagen> <nombre_persona>sample string 3</nombre_persona> <nveces>18</nveces> <nveces_persona>1</nveces_persona> <telefono>sample string 7</telefono> <tipo_afiliado>sample string 14</tipo_afiliado> <tipo_persona>sample string 13</tipo_persona> </Afiliados>