get https://api.accelevents.com/rest/events//staff/winners
This API is used to get a list of all winners. To get this API we need to pass the authentication key,eventurl . This API can be accessed by event admin and super admin. This API is used on the staff page.
if API gets executed successfully Here is the description of response attributes, which returns in the form of a JSON array.
Attribute | Description |
---|---|
winnerId | Contains winner's ID |
winnerName | Contains the winner name |
totalItemsWon | Contains the total number of items won by winner |
totalPaidAmount | Contains the total paid amount |
allItemsPaid | Contains boolean value if all items are paid for or not. If all items are paid then return true, otherwise false |
allItemsDistributed | Contains boolean value if all items are distributed or not. If all items are distributed then return true, otherwise false |
winnerEmail | Contains the winner's email address |
winnerPhoneNumber | Contains the winner's phone number |
winnerAddress1 | Contains the winner's address |
winnerAddress2 | Contains the winner's address |
cityOrProvidence | Contains the winner's city name |
state | Contains the winner's state |
country | Contains the winner's country name |