Een instapkaart voor luchtvaartmaatschappijen, reisbureaus en charteroperators. Ze wordt op ware grootte afgedrukt met de route in grote luchthavencodes, de passagier, de vlucht, de gate, de instaptijd en de stoel, een strook met een scanbare barcode en een optionele badge voor prioriteitsinstap en een pre-checkregel, met aanbiedingen van partners voor een huurauto en een hotel op de bestemming, extra opties en een loyaliteitsbanner die de rest van de pagina vullen. Download het Word-bestand om het aan uw maatschappij aan te passen en genereer een instapkaart voor elke passagier.
Upload het sjabloon en stuur daarna de gestructureerde data om uw ticket te genereren. Vervang YOUR_API_KEY door uw unieke sleutel en YOUR_TEMPLATE_ID door de ID van uw sjabloon.
Stuur een array van JSON-objecten en ontvang één document per object in een ZIP-archief. Gebruik de parameter output_name om elke bestandsnaam te bepalen met de merge-tags van uw sjabloon.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"airline": "Skyline Airways",
"passenger": {
"name": "MAYA LINDGREN"
},
"flight": {
"number": "SK 214",
"from_code": "SFO",
"from_city": "San Francisco",
"to_code": "JFK",
"to_city": "New York",
"departure": "2027-06-14T08:05",
"gate": "B22"
},
"seat": "14A",
"cabin": "Economy Plus",
"priority": true,
"precheck": true,
"booking_ref": "K4H7P0",
"issued": "2027-05-20",
"ticket_number": "01624400120",
"barcode_data": "M1MAYA/LINDGREN ESFOJFKSK SK214 14A",
"miles": 1691,
"car": {
"partner": "Roadrunner Car Rental",
"title": "Car rental in New York",
"detail": "Pick up at JFK airport, drop off anywhere in the city. Free cancellation up to 24 hours before.",
"price": 29,
"unit": "a day",
"code": "SKY14CAR",
"save": 10
},
"hotel": {
"partner": "Hotel Meridian",
"title": "Stay in New York",
"detail": "Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.",
"price": 119,
"unit": "a night",
"code": "SKY14STAY",
"save": 12
}
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Boarding Pass [booking_ref]",
"data": [
{ "airline": "Skyline Airways", "passenger": {"name":"MAYA LINDGREN"}, "flight": {"number":"SK 214","from_code":"SFO","from_city":"San Francisco","to_code":"JFK","to_city":"New York","departure":"2027-06-14T08:05","gate":"B22"}, "seat": "14A", "cabin": "Economy Plus", "priority": true, "precheck": true, "booking_ref": "K4H7P0", "issued": "2027-05-20", "ticket_number": "01624400120", "barcode_data": "M1MAYA/LINDGREN ESFOJFKSK SK214 14A", "miles": 1691, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in New York","detail":"Pick up at JFK airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":29,"unit":"a day","code":"SKY14CAR","save":10}, "hotel": {"partner":"Hotel Meridian","title":"Stay in New York","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":119,"unit":"a night","code":"SKY14STAY","save":12} },
{ "airline": "Skyline Airways", "passenger": {"name":"DANIEL OKAFOR"}, "flight": {"number":"SK 1810","from_code":"LAX","from_city":"Los Angeles","to_code":"ORD","to_city":"Chicago","departure":"2027-06-14T10:40","gate":"C07"}, "seat": "23C", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "QH7P21", "issued": "2027-05-21", "ticket_number": "01624400157", "barcode_data": "M1DANIEL/OKAFOR ELAXORDSK SK1810 23C", "miles": 1004, "car": {"partner":"Evergreen Rentals","title":"Car rental in Chicago","detail":"Pick up at ORD airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":36,"unit":"a day","code":"SKY15CAR","save":13}, "hotel": {"partner":"The Harborview","title":"Stay in Chicago","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":132,"unit":"a night","code":"SKY15STAY","save":17} },
{ "airline": "Skyline Airways", "passenger": {"name":"PRIYA VENKATESAN"}, "flight": {"number":"SK 622","from_code":"SEA","from_city":"Seattle","to_code":"BOS","to_city":"Boston","departure":"2027-06-15T05:30","gate":"A14"}, "seat": "8F", "cabin": "Business", "priority": true, "precheck": true, "booking_ref": "R7P2X2", "issued": "2027-05-22", "ticket_number": "01624400194", "barcode_data": "M1PRIYA/VENKATESAN ESEABOSSK SK622 8F", "miles": 2624, "car": {"partner":"Skyway Cars","title":"Car rental in Boston","detail":"Pick up at BOS airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":43,"unit":"a day","code":"SKY16CAR","save":16}, "hotel": {"partner":"Parkside Suites","title":"Stay in Boston","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":145,"unit":"a night","code":"SKY16STAY","save":22} },
{ "airline": "Skyline Airways", "passenger": {"name":"MARCUS HALE"}, "flight": {"number":"SK 905","from_code":"DEN","from_city":"Denver","to_code":"ATL","to_city":"Atlanta","departure":"2027-06-15T12:55","gate":"D03"}, "seat": "31B", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "TP2X93", "issued": "2027-05-23", "ticket_number": "01624400231", "barcode_data": "M1MARCUS/HALE EDENATLSK SK905 31B", "miles": 779, "car": {"partner":"Metro Drive","title":"Car rental in Atlanta","detail":"Pick up at ATL airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":50,"unit":"a day","code":"SKY17CAR","save":19}, "hotel": {"partner":"Grand Plaza Inn","title":"Stay in Atlanta","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":158,"unit":"a night","code":"SKY17STAY","save":13} },
{ "airline": "Skyline Airways", "passenger": {"name":"HANNAH DOYLE"}, "flight": {"number":"SK 337","from_code":"ORD","from_city":"Chicago","to_code":"MIA","to_city":"Miami","departure":"2027-06-16T08:20","gate":"B11"}, "seat": "17D", "cabin": "Economy Plus", "priority": false, "precheck": true, "booking_ref": "M4H7P4", "issued": "2027-05-24", "ticket_number": "01624400268", "barcode_data": "M1HANNAH/DOYLE EORDMIASK SK337 17D", "miles": 999, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in Miami","detail":"Pick up at MIA airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":33,"unit":"a day","code":"SKY18CAR","save":11}, "hotel": {"partner":"Hotel Meridian","title":"Stay in Miami","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":171,"unit":"a night","code":"SKY18STAY","save":18} },
{ "airline": "Skyline Airways", "passenger": {"name":"TOMAS HERRERA"}, "flight": {"number":"SK 1544","from_code":"AUS","from_city":"Austin","to_code":"SEA","to_city":"Seattle","departure":"2027-06-16T15:10","gate":"A09"}, "seat": "26A", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "ZH7P25", "issued": "2027-05-25", "ticket_number": "01624400305", "barcode_data": "M1TOMAS/HERRERA EAUSSEASK SK1544 26A", "miles": 1046, "car": {"partner":"Evergreen Rentals","title":"Car rental in Seattle","detail":"Pick up at SEA airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":40,"unit":"a day","code":"SKY19CAR","save":14}, "hotel": {"partner":"The Harborview","title":"Stay in Seattle","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":124,"unit":"a night","code":"SKY19STAY","save":23} },
{ "airline": "Skyline Airways", "passenger": {"name":"SOFIA PETROV"}, "flight": {"number":"SK 119","from_code":"JFK","from_city":"New York","to_code":"LAX","to_city":"Los Angeles","departure":"2027-06-17T06:50","gate":"C21"}, "seat": "3A", "cabin": "First", "priority": true, "precheck": true, "booking_ref": "K7P2X6", "issued": "2027-05-26", "ticket_number": "01624400342", "barcode_data": "M1SOFIA/PETROV EJFKLAXSK SK119 3A", "miles": 3946, "car": {"partner":"Skyway Cars","title":"Car rental in Los Angeles","detail":"Pick up at LAX airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":47,"unit":"a day","code":"SKY20CAR","save":17}, "hotel": {"partner":"Parkside Suites","title":"Stay in Los Angeles","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":137,"unit":"a night","code":"SKY20STAY","save":14} },
{ "airline": "Skyline Airways", "passenger": {"name":"KWAME BOATENG"}, "flight": {"number":"SK 762","from_code":"ATL","from_city":"Atlanta","to_code":"DEN","to_city":"Denver","departure":"2027-06-17T11:35","gate":"B05"}, "seat": "19E", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "QP2X97", "issued": "2027-05-27", "ticket_number": "01624400379", "barcode_data": "M1KWAME/BOATENG EATLDENSK SK762 19E", "miles": 881, "car": {"partner":"Metro Drive","title":"Car rental in Denver","detail":"Pick up at DEN airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":30,"unit":"a day","code":"SKY21CAR","save":20}, "hotel": {"partner":"Grand Plaza Inn","title":"Stay in Denver","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":150,"unit":"a night","code":"SKY21STAY","save":19} },
{ "airline": "Skyline Airways", "passenger": {"name":"AMARA NWOSU"}, "flight": {"number":"SK 483","from_code":"PDX","from_city":"Portland","to_code":"LAS","to_city":"Las Vegas","departure":"2027-06-18T10:00","gate":"A02"}, "seat": "12C", "cabin": "Economy Plus", "priority": false, "precheck": true, "booking_ref": "R4H7P8", "issued": "2027-05-28", "ticket_number": "01624400416", "barcode_data": "M1AMARA/NWOSU EPDXLASSK SK483 12C", "miles": 769, "car": {"partner":"Roadrunner Car Rental","title":"Car rental in Las Vegas","detail":"Pick up at LAS airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":37,"unit":"a day","code":"SKY22CAR","save":12}, "hotel": {"partner":"Hotel Meridian","title":"Stay in Las Vegas","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":163,"unit":"a night","code":"SKY22STAY","save":24} },
{ "airline": "Skyline Airways", "passenger": {"name":"LUCAS MOREAU"}, "flight": {"number":"SK 218","from_code":"BOS","from_city":"Boston","to_code":"SFO","to_city":"San Francisco","departure":"2027-06-18T16:25","gate":"D16"}, "seat": "28F", "cabin": "Economy", "priority": false, "precheck": false, "booking_ref": "TH7P29", "issued": "2027-05-29", "ticket_number": "01624400453", "barcode_data": "M1LUCAS/MOREAU EBOSSFOSK SK218 28F", "miles": 1640, "car": {"partner":"Evergreen Rentals","title":"Car rental in San Francisco","detail":"Pick up at SFO airport, drop off anywhere in the city. Free cancellation up to 24 hours before.","price":44,"unit":"a day","code":"SKY23CAR","save":15}, "hotel": {"partner":"The Harborview","title":"Stay in San Francisco","detail":"Central location, breakfast included and free Wi-Fi. Pay at the hotel, change your dates for free.","price":176,"unit":"a night","code":"SKY23STAY","save":15} }
]
}' Veelgestelde vragen over onze ticketsjablonen
Ga aan de slag met 20 gratis documenten per maand en onze kant-en-klare ticketsjablonen.