get https://api.accelevents.com/rest/u/audience/filter/organizer/
This API is used to get all audience filters associated with the specified organizer URL.
API used at host side event admin, super admin and organizer admin can access this API.
It will return a List of Audience filters with a number of counts of qualified attendees for each filter.
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 to the form of JSON.
Attributes | Description |
---|---|
id | Unique ID of an Audience Filer. |
name | Name of an Audience Filer. |
userId | Id of a user which is created a filter. |
filterJson | JSON of a filter. |
totalAudience | Total qualified audience(attendee). |
source | Its value will always be the ORGANIZER |
sourceId | unique ID of an ORGANIZER. |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | { "errorMessage": "Not authorized", "errorCode": "4010101", "developerMessage": "Not authorize to access" } |
403 | { "errorMessage": "Not Event Host", "errorCode": "4030201", "developerMessage": "Not Event Host" } |
404 | The resource you were trying to reach is not found. |