Eine Eintrittskarte für ein Museum, eine Attraktion oder eine Tour. Sie enthält den Veranstaltungsort, die Besucherart und die Anzahl, das Besuchsdatum und die Einlasszeit, was enthalten ist, den Preis, die Einlassbedingungen und einen QR-Code, der einmalig gescannt wird. Laden Sie die Word-Datei herunter, um sie an Ihren Veranstaltungsort anzupassen, und generieren Sie eine Eintrittskarte für jede Buchung.
Laden Sie die Vorlage hoch und senden Sie die strukturierten Daten, um das fertige Dokument zu erhalten. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel und YOUR_TEMPLATE_ID durch die Vorlagen-ID.
Senden Sie ein Array von JSON-Objekten und erhalten Sie pro Objekt ein Dokument im ZIP-Archiv. Benennen Sie mit output_name jede Datei mit den Zusammenführungs-Tags Ihrer Vorlage.
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" }
]
}' Häufig gestellte Fragen zu unseren Ticketvorlagen
Starten Sie mit 20 kostenlosen Dokumenten pro Monat und unseren gebrauchsfertigen Ticketvorlagen.