Een toegangsticket voor een museum, een attractie of een rondleiding. Het bevat de locatie, het bezoekerstype en het aantal, de bezoekdatum en de toegangstijd, wat er is inbegrepen, de prijs, de toegangsvoorwaarden en een QR-code die één keer wordt gescand. Download het Word-bestand om het aan te passen aan uw locatie en genereer een ticket voor elke boeking.
Upload het sjabloon en stuur daarna de gestructureerde data om het voltooide document te ontvangen. 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": {
"venue_name": "Harbor Maritime Museum",
"venue_tagline": "Open daily 9:00 to 18:00",
"visitor_type": "Adult",
"quantity": "2",
"visit_date": "Saturday, November 21, 2026",
"time_slot": "10:30 to 11:00",
"includes": "All permanent galleries and the “Tall Ships” exhibition",
"currency": "USD",
"ticket_code": "HMM-20261121-004871-QZ7",
"ticket_number": "HMM-20261121-004871",
"conditions": [
"Valid only on the date and entry time shown.",
"Each QR code can be scanned once.",
"Children under 12 must be accompanied by an adult."
],
"price": "36.00"
}
}' 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": "Admission Ticket [ticket_number]",
"data": [
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Adult", "quantity": "2", "visit_date": "Saturday, November 21, 2026", "time_slot": "10:30 to 11:00", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261121-004871-QZ7", "ticket_number": "HMM-20261121-004871", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "36.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Child", "quantity": "2", "visit_date": "Saturday, November 21, 2026", "time_slot": "10:30 to 11:00", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261121-004872-K4M", "ticket_number": "HMM-20261121-004872", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "18.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Senior", "quantity": "1", "visit_date": "Saturday, November 21, 2026", "time_slot": "11:00 to 11:30", "includes": "All permanent galleries", "currency": "USD", "ticket_code": "HMM-20261121-004873-D8X", "ticket_number": "HMM-20261121-004873", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "14.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Student", "quantity": "3", "visit_date": "Sunday, November 22, 2026", "time_slot": "12:00 to 12:30", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261122-004880-P2V", "ticket_number": "HMM-20261122-004880", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "36.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Adult", "quantity": "4", "visit_date": "Sunday, November 22, 2026", "time_slot": "13:30 to 14:00", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261122-004891-R7C", "ticket_number": "HMM-20261122-004891", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "72.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Family (2 adults and 2 children)", "quantity": "1", "visit_date": "Wednesday, November 25, 2026", "time_slot": "10:00 to 10:30", "includes": "All permanent galleries, the family trail and a craft workshop", "currency": "USD", "ticket_code": "HMM-20261125-004902-H5T", "ticket_number": "HMM-20261125-004902", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "48.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Adult", "quantity": "1", "visit_date": "Thursday, November 26, 2026", "time_slot": "14:00 to 14:30", "includes": "All permanent galleries", "currency": "USD", "ticket_code": "HMM-20261126-004915-W3N", "ticket_number": "HMM-20261126-004915", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "18.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Senior", "quantity": "2", "visit_date": "Friday, November 27, 2026", "time_slot": "11:30 to 12:00", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261127-004929-J9B", "ticket_number": "HMM-20261127-004929", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "28.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Adult", "quantity": "2", "visit_date": "Saturday, November 28, 2026", "time_slot": "09:30 to 10:00", "includes": "All permanent galleries and the “Tall Ships” exhibition", "currency": "USD", "ticket_code": "HMM-20261128-004944-Z6F", "ticket_number": "HMM-20261128-004944", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "36.00" },
{ "venue_name": "Harbor Maritime Museum", "venue_tagline": "Open daily 9:00 to 18:00", "visitor_type": "Child", "quantity": "3", "visit_date": "Saturday, November 28, 2026", "time_slot": "10:30 to 11:00", "includes": "All permanent galleries", "currency": "USD", "ticket_code": "HMM-20261128-004951-Q1L", "ticket_number": "HMM-20261128-004951", "conditions": ["Valid only on the date and entry time shown.","Each QR code can be scanned once.","Children under 12 must be accompanied by an adult."], "price": "27.00" }
]
}' Veelgestelde vragen over onze ticketsjablonen
Ga aan de slag met 20 gratis documenten per maand en onze kant-en-klare ticketsjablonen.