API Información Vuelo (Flight Information)
Description¶
The "Información Vuelo" API allows you to process the information provided by the airline about a Guía Madre for each package included in it. It has a POST method where the necessary data is sent to update the records by Guía Hija and notify the flight information. In response, the result of the packages processing will be received.
POST¶
Endpoint¶
🔐 POST - Production Environment
🧪 POST - Testing Environment
The client must enter the flight information.
- The head must include the authentication token. If a correct token is not entered, we will have an authentication error.
Request¶
{
"contratoCourrier": "400035265",
"paramsJson": {
"mawbNumber": "MAWB-TEST-16092025",
"flightNumber": "FL-API-789",
"departAirport": "PVG",
"departTime": "2025-09-12 10:00:00",
"arriveAirport": "EZE",
"arriveTime": "2025-09-13 08:00:00",
"note": "Carga de prueba desde China a Ezeiza",
"boxList": [
{
"boxNumber": "BOX-1",
"packageList": [
{
"hawbcode": "INFORMACION-VUELO-API-TEST-006",
"weight": 1.2
},
{
"hawbcode": "INFORMACION-VUELO-API-TEST-007",
"weight": 2.5
}
]
},
{
"boxNumber": "BOX-2",
"packageList": [
{
"hawbcode": "INFORMACION-VUELO-API-TEST-008",
"weight": 3.1
}
]
},
{
"boxNumber": "BOX-3",
"packageList": [
{
"hawbcode": "INFORMACION-VUELO-API-TEST-009",
"weight": 4.0
},
{
"hawbcode": "INFORMACION-VUELO-API-TEST-010",
"weight": 2.8
}
]
}
]
}
}
| FIELD | DESCRIPTION | REQUIRED |
|---|---|---|
| contratoCourier | ContratoCourier which identifies the AGP Client | YES |
| mawbNumber | Manifest Number / Guía Madre | YES |
| flightNumber | Flight Number | YES |
| departAirport | Departure Airport | YES |
| departTime | Flight Departure Date / Time | YES |
| arriveAirport | Arrival Airport | YES |
| arriveTime | Date / Time of Arrival at Destination | YES |
| note | Observations | NO |
| boxList | List of Boxes that the flight brings | YES |
| boxNumber | Box Identifier | YES |
| packageList | List of Shipments that the Box has | YES |
| hawbcode | Shipping Number (Referencia Tracking) | YES |
| weight | Shipping weight | NO |
Response¶
Status 200 (OK)
{
"cajasProcesadas": 3,
"paquetesProcesados": 5,
"exitos": 0,
"noEncontrados": 0,
"errores": 5,
"detalles": [
{
"boxNumber": "BOX-1",
"hawbcode": "INFORMACION-VUELO-API-TEST-006",
"resultado": "Error al actualizar el envio",
"nroEnvio": "360000101357019"
},
{
"boxNumber": "BOX-1",
"hawbcode": "INFORMACION-VUELO-API-TEST-007",
"resultado": "Actualizado",
"nroEnvio": "360000101357029"
},
{
"boxNumber": "BOX-2",
"hawbcode": "INFORMACION-VUELO-API-TEST-008",
"resultado": "Error al actualizar el envio",
"nroEnvio": "360000101357039"
},
{
"boxNumber": "BOX-3",
"hawbcode": "INFORMACION-VUELO-API-TEST-009",
"resultado": "Error al actualizar el envio",
"nroEnvio": "360000101357049"
},
{
"boxNumber": "BOX-3",
"hawbcode": "INFORMACION-VUELO-API-TEST-010",
"resultado": "Error al actualizar el envio",
"nroEnvio": "360000101357059"
}
]
}
Status 409 (Conflict)
Occurs when the Contrato Courier is not valid.
[
{
"Code": "409",
"Message": "No se encontró un contrato activo para este contrato courier",
"Property": "ProcesarInformacionVuelo"
}
]