Show Activate Button on Host Sidebar

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.

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 CodeError Description
200Successfully retrieved show button settings
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
4030201Not Event Host.
Click Try It! to start a request and see the response here!