get https://api.accelevents.com/rest/u/myprofile/events/
This API is used to get users' event information in which the user is assigned and we can provide by active,past and all events.
Here is the description of response attributes, which returns to the form of JSON.
JSON array of events info we get in response.
It will return a success message if API executes it successfully.
Attribute | Description |
---|---|
name | it is name of the event |
eventURL | Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url. |
eventStartDate | it is the event start date of the event |
eventEndDate | it is the event end date of the event |
eventType | it is a type of role in event of user's |
type | it is event type of event |
address | it is the address of the event |
eventStripePublishableKey | it is a Stripe publishable key of the event |
eventLogo | it is the logo of the event |
numberOfTicketSold | it is the number of tickets sold in the event |
numberOfTotalTickets | it is the total number of tickets available in the event |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Ok |
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. |
4010101 | Not authorized |