get https://api.accelevents.com/rest/host/event//homeHostFundANeedDetail
This API is used to get host fund need details like collected amount, donation, donor, total donation, an item with a donation, 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.
Log in to see full request history
- Here is the description of response attributes, which returns in the form of JSON.
Attribute | Description |
---|---|
endDate | End date of the fund a need. |
collectedAmount | Collected amount from the fund a need. |
donors | Number of donors. |
active | Is the module active or not? |
status | Module status, the possible value will be EVENT_HAPPENING, PROCESSING_WINNER, WINNER_ANNOUNED, ERROR, EXTENDED_BIDDING, EVENT_MODULE_DELETED. |
totalDonations | Total number of donations. |
itemsWithDonations | Number of items with donations. |
totalItems | Total number of items in the fund a need. |
days | Total number of event days. |
- Here are the possible error messages that return if any condition fails or required data is missing for processing.
Error Code | Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
500 | Interna server error. |
4030201 | Not event host. |
Responses