-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Do keep in mind to FORK from the main branch.
The endpoint is implmented, and a basic proto of the QR code is there, but u have to imporve this, please change however you wish as per the design,

This the API Endpoint and on what u have to send its BODY of this POST request.
{ "passes": [ { "passUUID": "2cf30c82-4941-4070-8c85-616457b1ecce", "qrStrings": [], "passType": "General", "passId": "68657228932b935dee3d3dfe", "email": "[email protected]", "eventId": "678b9075f6deb135145b5636" }, { "passUUID": "3b511ad3-d5b6-4d26-9e76-b115f7a2d970", "qrStrings": [ { "id": "d045c265-002d-4848-98f3-62cf0997c7d5", "personType": "user", "qrScanned": false, "scannedAt": null, "_id": "686a4b60c72643aac18f5be2" } ], "passType": "General", "passId": "686a4b4fc72643aac18f5bde", "email": "[email protected]", "eventId": "678b9075f6deb135145b5636" }, { "passUUID": "3bce7f6c-9e70-4536-8690-474ca99d8970", "qrStrings": [ { "id": "9d1957a5-e3bf-448b-8c99-d28b723c1488", "personType": "user", "qrScanned": false, "scannedAt": null, "_id": "686a50d57c7fa1b4698c160f" } ], "passType": "General", "passId": "686a50c37c7fa1b4698c160b", "email": "[email protected]", "eventId": "678b9075f6deb135145b5636" } ], "count": 3, "message": "Passes found successfully" }
This is the expected Response. The Type for this is already created in the PassDetailsResponse that U can get from the types.ts file. U have to displaay these QR codes in the Event Details card in a responsive manner.