Register and apply to get the API key.
https://api.dbook.co.in/register-event POST
{
headers : {
'dbkey' : <API-KEY>
},
data: {
'eventId' : 'xar092wa',
'eventName' : 'Event Name',
'eventStartingDate' : 'YYYY-MM-DD'
'eventStartingTime' : 'HH:MM:SS',
'eventEndingDate' : 'YYYY-MM-DD'
'eventEndingTime' : 'HH:MM:SS'
}
}
{
'message' : 'Event Created',
'eventId' : 'xar092wa'
}
https://api.dbook.co.in/get-qr POST
{
headers : {
'dbkey' : <API-KEY>
},
data: {
eventId : 'xavxxi',
name : 'Name of the attendee', // optional
email : 'Email ID of the attendee' // optional
phone : 'Phone number of the attendee' // optional
amount : 'amount', // optional
transactionId : 'transaction id from the payment gateway' // optional
}
}
{
'message' : 'Qr code generated',
'dataUrl' : 'dataurl of the qrcode'
}