Import Excel File
In the Passenger List Management section, users have the option to upload an Excel file to import passenger data directly into the system.
// Some code
url --location --request POST 'https://broker.mydomain.belevensoftware.com/api/broker/v0/upload/29000' \
--header 'Authorization: Bearer <token> form 'paxlist=@"example.xlsx"'[
{
"id": null,
"idvolo": 30617,
"surname": "ROSSI",
"name": "MARIO",
"luogonascita": "IT",
"nazionalita": "IT",
"typedoc": "P",
"numberdoc": "CA1234567",
"date_born": "1988-04-06",
"scadenza": "2033-04-06",
"issuingstate": "IT",
"email": "[email protected]",
"phone": "+39 111 22 33 444",
"is_carring_infant": true,
"gender": "M",
"parent_id": null,
"row_number_parent_id": null,
"row_number": 1
},
{
"id": null,
"idvolo": 30617,
"surname": "BIANCHI",
"name": "MARIA",
"luogonascita": "IT",
"nazionalita": "IT",
"typedoc": "P",
"numberdoc": "YB1234567",
"date_born": "1983-05-09",
"scadenza": "2030-05-03",
"issuingstate": "IT",
"email": "[email protected]",
"phone": "+39 111 22 33 444",
"is_carring_infant": false,
"gender": "F",
"parent_id": null,
"row_number_parent_id": null,
"row_number": 2
},
{
"id": null,
"idvolo": 30617,
"surname": "ROSSI",
"name": "LUCA",
"luogonascita": "IT",
"nazionalita": "IT",
"typedoc": "I",
"numberdoc": "YA5009569",
"date_born": "2024-01-01",
"scadenza": "2023-09-28",
"issuingstate": "IT",
"email": null,
"phone": null,
"is_carring_infant": false,
"gender": "I",
"parent_id": null,
"row_number_parent_id": 2,
"row_number": 3
}
]Last updated