POST api/v1/pui/{rfc}/activar-reporte
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rfc | string |
Required |
Body Parameters
ReporteBusquedaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required Matching regular expression pattern: ^[a-fA-F0-9-]+$ String length: inclusive between 36 and 75 |
|
| curp | string |
Required Matching regular expression pattern: ^[a-zA-Z0-9_-]+$ String length: inclusive between 18 and 18 |
|
| nombre | string |
Matching regular expression pattern: ^[a-zA-ZáéíóúÁÉÍÓÚñÑ\s'-]+$ String length: inclusive between 0 and 50 |
|
| primer_apellido | string |
Matching regular expression pattern: ^[a-zA-ZáéíóúÁÉÍÓÚñÑ\s'-]+$ String length: inclusive between 0 and 50 |
|
| segundo_apellido | string |
Matching regular expression pattern: ^[a-zA-ZáéíóúÁÉÍÓÚñÑ\s'-]+$ String length: inclusive between 0 and 50 |
|
| fecha_nacimiento | string |
Matching regular expression pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$ String length: inclusive between 10 and 10 |
|
| fecha_desaparicion | string |
Matching regular expression pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$ String length: inclusive between 10 and 10 |
|
| lugar_nacimiento | string |
Required Matching regular expression pattern: ^[a-zA-Z0-9_-]+$ String length: inclusive between 0 and 20 |
|
| sexo_asignado | string |
Matching regular expression pattern: ^[HMX]$ String length: inclusive between 1 and 1 |
|
| telefono | string |
Matching regular expression pattern: ^[0-9()\-\s]+$ String length: inclusive between 0 and 15 |
|
| correo | string |
Matching regular expression pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ String length: inclusive between 0 and 50 |
|
| direccion | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 500 |
|
| calle | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 50 |
|
| numero | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 20 |
|
| colonia | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 50 |
|
| codigo_postal | string |
Matching regular expression pattern: ^[0-9]+$ String length: inclusive between 0 and 5 |
|
| municipio_o_alcaldia | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 100 |
|
| entidad_federativa | string |
Matching regular expression pattern: ^[a-zA-Z0-9\sáéíóúÁÉÍÓÚñÑ#.,\-]+$ String length: inclusive between 0 and 40 |
Request Formats
application/json, text/json
{
"id": "sample string 1",
"curp": "sample string 2",
"nombre": "sample string 3",
"primer_apellido": "sample string 4",
"segundo_apellido": "sample string 5",
"fecha_nacimiento": "sample string 6",
"fecha_desaparicion": "sample string 7",
"lugar_nacimiento": "sample string 8",
"sexo_asignado": "sample string 9",
"telefono": "sample string 10",
"correo": "sample string 11",
"direccion": "sample string 12",
"calle": "sample string 13",
"numero": "sample string 14",
"colonia": "sample string 15",
"codigo_postal": "sample string 16",
"municipio_o_alcaldia": "sample string 17",
"entidad_federativa": "sample string 18"
}
application/xml, text/xml
<ReporteBusquedaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.PUI.Models"> <Calle>sample string 13</Calle> <CodigoPostal>sample string 16</CodigoPostal> <Colonia>sample string 15</Colonia> <Correo>sample string 11</Correo> <Curp>sample string 2</Curp> <Direccion>sample string 12</Direccion> <EntidadFederativa>sample string 18</EntidadFederativa> <FechaDesaparicion>sample string 7</FechaDesaparicion> <FechaNacimiento>sample string 6</FechaNacimiento> <Id>sample string 1</Id> <LugarNacimiento>sample string 8</LugarNacimiento> <MunicipioOAlcaldia>sample string 17</MunicipioOAlcaldia> <Nombre>sample string 3</Nombre> <Numero>sample string 14</Numero> <PrimerApellido>sample string 4</PrimerApellido> <SegundoApellido>sample string 5</SegundoApellido> <SexoAsignado>sample string 9</SexoAsignado> <Telefono>sample string 10</Telefono> </ReporteBusquedaDto>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.