POST api/ControlIngreso/Ingreso

Permite registrar la información de un ingreso a la entidad

Request Information

URI Parameters

None.

Body Parameters

Objetos de la clase: Ingreso

Ingreso
NameDescriptionTypeAdditional information
id

integer

None.

idAutorizacion

integer

None.

idDependencia

integer

None.

dependencia

string

None.

fechaIngreso

date

None.

cedula

string

None.

nombre

string

None.

celular

string

None.

temperatura

decimal number

None.

observaciones

string

None.

procedencia

string

None.

piso

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idAutorizacion": 2,
  "idDependencia": 3,
  "dependencia": "sample string 4",
  "fechaIngreso": "2026-04-04T02:48:30.3590901-05:00",
  "cedula": "sample string 6",
  "nombre": "sample string 7",
  "celular": "sample string 8",
  "temperatura": 9.1,
  "observaciones": "sample string 10",
  "procedencia": "sample string 11",
  "piso": 12
}

application/xml, text/xml

Sample:
<Ingreso xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIMAPI.Models.AtencionUsuarios">
  <Cedula>sample string 6</Cedula>
  <Celular>sample string 8</Celular>
  <Dependencia>sample string 4</Dependencia>
  <FechaIngreso>2026-04-04T02:48:30.3590901-05:00</FechaIngreso>
  <Id>1</Id>
  <IdAutorizacion>2</IdAutorizacion>
  <IdDependencia>3</IdDependencia>
  <Nombre>sample string 7</Nombre>
  <Observaciones>sample string 10</Observaciones>
  <Piso>12</Piso>
  <Procedencia>sample string 11</Procedencia>
  <Temperatura>9.1</Temperatura>
</Ingreso>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Ingreso'.

Response Information

Resource Description

Retorna valor booleano true: si el proceso se llevó a cabo satisfactoriamente, false: si se presentan problemas

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>