API Reference

Get Host Raffle Details

This API is used to get host raffle details like the number of tickets purchased, collected amount, total items, items with tickets, total buyer, etc. The event admin, super admin, and organizer admin can access this API. We need to pass an authorization token here which is generated after successful login into the account.

  • Here is the description of response attributes, which returns in the form of JSON.
AttributeDescription
endDateEnd date of the raffle.
collectedAmountCollected amount from this raffle.
numberOfTicketPurchasedNumber of raffle tickets purchased.
totalTicketPurchasedNumber of total tickets purchased.
activeIs the module active or not?
statusModule status, the possible value will be EVENT_HAPPENING, PROCESSING_WINNER, WINNER_ANNOUNED, ERROR, EXTENDED_BIDDING, EVENT_MODULE_DELETED.
totalItemsTotal number of items in the raffle.
itemsWithTicketsTotal number of items that have submitted tickets in the raffle.
totalBuyersTotal number of buyers in the raffle.
daysTotal number of event days.
  • Here are the possible error messages that return if any condition fails or required data is missing for processing.
Error CodeDescription
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
500Internal server error.
4030201Not event host.
Language
Credentials
Header
Click Try It! to start a request and see the response here!