Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return a PDF for badge printing from server #8955

Closed
cweitat opened this issue Jul 6, 2023 · 3 comments
Closed

Return a PDF for badge printing from server #8955

cweitat opened this issue Jul 6, 2023 · 3 comments
Labels
Milestone

Comments

@cweitat
Copy link
Contributor

cweitat commented Jul 6, 2023

API to call for the checkin app to print the badge
The badge should be in PDF with details specified in the wizard that contains QR code in VCF format with custom field EVENTYAY that contains the ticket_id

Need APIs for follow:

  • needs to accept list of information that the attendee wants to show before generating PDF and sending via API
@cweitat
Copy link
Contributor Author

cweitat commented Jul 18, 2023

@lthanhhieu upon printing, mark ticket as printed and printed date time

@ghost
Copy link

ghost commented Jul 20, 2023

Hi @mariobehling , @cweitat .
Below is the API for return the PDF file

API for #8955

Return a PDF for badge printing from server [/v1/badge-forms/print-badge-pdf]

Return a PDF for badge printing from server [POST]

Return a PDF for badge printing from server using JWT token

  • Request

    • Headers

        Accept: application/json
      
        Authorization: JWT <Auth Key>
      
    • Body

        {
          "attendee_id": 1,
          "list_field_show" : ["email", "fluent_language"]
        }
      
  • Response 200 (application/pdf)

    • Return File PDF

@ghost
Copy link

ghost commented Jul 21, 2023

Close as PR merged: #8968

@ghost ghost closed this as completed Jul 21, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants