POST api/ControlIngreso/Autorizacion

Permite el registro de un autorización de ingreso a la entidad

Request Information

URI Parameters

None.

Body Parameters

Objetos de la clase: Autorizacion

Autorizacion
NameDescriptionTypeAdditional information
id

integer

None.

cedula

string

None.

nombre

string

None.

fecha

date

None.

fechaFin

date

None.

autorizado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cedula": "sample string 2",
  "nombre": "sample string 3",
  "fecha": "2026-04-04T02:49:29.833505-05:00",
  "fechaFin": "2026-04-04T02:49:29.833505-05:00",
  "autorizado": true
}

application/xml, text/xml

Sample:
<Autorizacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIMAPI.Models.AtencionUsuarios">
  <Autorizado>true</Autorizado>
  <Cedula>sample string 2</Cedula>
  <Fecha>2026-04-04T02:49:29.833505-05:00</Fecha>
  <FechaFin>2026-04-04T02:49:29.833505-05:00</FechaFin>
  <Id>1</Id>
  <Nombre>sample string 3</Nombre>
</Autorizacion>

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 'Autorizacion'.

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>