get https://api.accelevents.com/rest/host/event//settings/showActiveButton
This API used to show activate button on host sidebar associated with the specified event.
This API can be access by event admin and super admin. It will return event data like showActivateButton, redirectURL, openCreditCardPopup, openTicketingPopup and popupMessage.
To call this API, user have to pass an authentication key to authenticate the user.
This API used at event host side to show activate button details.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
Attribute | Description |
---|---|
showActivateButton | It's contains the show activate button or not. |
redirectURL | It's contains the page redirect URL, e.g. /host/settings/account |
openCreditCardPopup | It's contains the open enable credit card processing popup. |
openTicketingPopup | It's contains the open enable ticketing popup. |
popupMessage | It's contains the popup message to show. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Successfully retrieved show button settings |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4030201 | Not Event Host. |