This API is used to get a list of All Events Information of a user according to status.
This API is used when the user clicks on the My Events page from the Profile menu.
To call this API, we need to pass the path parameter of status and authorization token in API in the header.
An authorization token will be generated when the user login to the system.
This API returns a JSON array of event details in response with 200 status if API is executed successfully.
Here is the description of response attributes, which returns in the form of JSON :
|name||Returns the name of the event.|
|eventURL||Returns the Event URL which is a unique identifier for the event.|
|eventStartDate||Returns the start date of the event.|
|eventEndDate||Returns the end date of the event.|
|eventType||This field describes the type/role of the event user like admin, staff, user, exhibitor admin, or lead retriever.|
|type||This field describes the type of the event like Music, Festival, Auction etc.|
|address||Returns the event address.|
|eventStripePublishableKey||Returns the Stripe publishable key if Stripe is connected and activated in order to receive payment for the event.|
|eventLogo||Returns the logo of the event.|
|numberOfTicketSold||Returns the total number of tickets sold for the event.|
|numberOfTotalTickets||Returns the total number of tickets setup/configured for the event by host.|
Here are the possible error messages, which will return if any conditions fail or the required data is missing for processing
|Error code||Error description|
|401||The user is not authorized to view the resource.|