GET api/Alertas?codigoIATA={codigoIATA}&diasAnticipacion={diasAnticipacion}

Retorna las alertas de cierre de aeropuerto, generadas en el BackOffice.

Request Information

Parameters

NameDescriptionAdditional information
codigoIATA
Código IATA del Aeropuerto para el que se quiere consultar alertas de cierre.

Define this parameter in the request URI.

diasAnticipacion
Dias de anticipación con las que se quieren recuperar las alertas de cierre.

Define this parameter in the request URI.

Información de respuesta:

En los siguientes apartados de indican los formatos de respuesta. Para probar el servicio haga click en el boton probar api e ingrese su key en la cabecera del mensaje.

application/json, text/json

Ejemplo:
[
  {
    "Id": 1,
    "IdAeropuerto": 2,
    "CA_Texto": "sample string 3",
    "CA_FechaInicio": "2024-10-16T13:27:10.6685929-03:00",
    "CA_FechaFin": "2024-10-16T13:27:10.6685929-03:00",
    "CA_Activo": true
  },
  {
    "Id": 1,
    "IdAeropuerto": 2,
    "CA_Texto": "sample string 3",
    "CA_FechaInicio": "2024-10-16T13:27:10.6685929-03:00",
    "CA_FechaFin": "2024-10-16T13:27:10.6685929-03:00",
    "CA_Activo": true
  }
]

application/xml, text/xml

Ejemplo:
<ArrayOfCierreAeropuerto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wtapi.Models">
  <CierreAeropuerto>
    <CA_Activo>true</CA_Activo>
    <CA_FechaFin>2024-10-16T13:27:10.6685929-03:00</CA_FechaFin>
    <CA_FechaInicio>2024-10-16T13:27:10.6685929-03:00</CA_FechaInicio>
    <CA_Texto>sample string 3</CA_Texto>
    <Id>1</Id>
    <IdAeropuerto>2</IdAeropuerto>
  </CierreAeropuerto>
  <CierreAeropuerto>
    <CA_Activo>true</CA_Activo>
    <CA_FechaFin>2024-10-16T13:27:10.6685929-03:00</CA_FechaFin>
    <CA_FechaInicio>2024-10-16T13:27:10.6685929-03:00</CA_FechaInicio>
    <CA_Texto>sample string 3</CA_Texto>
    <Id>1</Id>
    <IdAeropuerto>2</IdAeropuerto>
  </CierreAeropuerto>
</ArrayOfCierreAeropuerto>