get https://api.accelevents.com/rest/host/event//homeHostTextToDonateDetail
This API is used to get host Text to Donate details like the number of donors, total fundraised, and whether the module is active. 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.
Attribute | Description |
---|---|
numberOfDonors | Number of donors. |
totalFundRaised | Total funds raised. |
active | Is the module active or not? |
- 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 | Internal server error. |
4030201 | Not event host. |