List Audience Filter Associated with Specific Organizer
This API is used to get a List of Audience Filter from Organizer.
Required
- User should have login credentials with Admin/ Super Admin Role or needs host side access.
This API is used to get all available Audience Filters of a specific organizer.
Here is a Sample Success Response of what the API will return.
[{"id":-1,"name":"Everyone","eventId":null,"userId":null,"filterJson":"{}","totalAudience":2,"source":null,"sourceId":null},{"id":155,"name":"attribute-reg","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"Umang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"first-event-audience\"},{\"columnName\":\"status\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"PAID\"},{\"columnName\":\"firstName\",\"isInstance\":true,\"instanceFieldName\":\"firstName\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"columnValue\":\"Umang\",\"instanceName\":\"ticketHolder\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"is\",\"dataType\":\"string\",\"columnValue\":\"first-event-audience\",\"columnData\":{\"label\":\"Event Name\",\"name\":\"eventName\",\"api\":true,\"operator\":\"enum\",\"type\":\"dropdown\",\"dataType\":\"string\",\"fieldType\":\"scaler\",\"limit\":15,\"attribute\":[\"tickettypename\",\"nooftickets\",\"status\",\"discountCode\",\"ticketHolder\",\"purchaser\"]},\"columnOperators\":[\"is\",\"is_not\"]},{\"columnName\":\"status\",\"isInstance\":false,\"operator\":\"is\",\"dataType\":\"string\",\"columnValue\":\"PAID\",\"columnData\":{\"label\":\"Order Status\",\"name\":\"status\",\"api\":false,\"operator\":\"enum\",\"type\":\"dropdown\",\"dataType\":\"string\",\"limit\":0,\"enumValue\":[\"CREATE\",\"EXPIRED\",\"PAID\",\"PAID_DELETE\",\"UNPAID\",\"UNPAID_DELETE\"],\"fieldType\":\"scaler\",\"attribute\":[\"eventName\",\"nooftickets\",\"status\",\"ticketHolder\",\"purchaser\"]},\"columnOperators\":[\"is\",\"is_not\"]},{\"columnName\":\"ticketHolder\",\"isInstance\":true,\"instanceFieldName\":\"firstName\",\"operator\":\"contains\",\"dataType\":\"string\",\"columnValue\":\"Umang\",\"instanceName\":\"ticketHolder\",\"instanceFields\":[{\"label\":\"First Name\",\"name\":\"firstName\",\"api\":false,\"operator\":\"textWithRef\",\"type\":\"text\",\"dataType\":\"string\",\"limit\":0},{\"label\":\"Last Name\",\"name\":\"lastName\",\"api\":false,\"operator\":\"textWithRef\",\"type\":\"text\",\"dataType\":\"string\",\"limit\":0},{\"label\":\"Email\",\"name\":\"email\",\"api\":true,\"operator\":\"textWithRef\",\"type\":\"dropdown\",\"dataType\":\"string\",\"limit\":15}],\"instance\":{\"label\":\"Ticket Holder\",\"fieldType\":\"instance\",\"name\":\"ticketHolder\",\"instanceName\":\"ticketHolder\",\"instanceColumns\":\"registration.holder.info\",\"attribute\":[\"eventName\",\"nooftickets\",\"status\",\"purchaser\"]},\"columnData\":{\"label\":\"First Name\",\"name\":\"firstName\",\"api\":false,\"operator\":\"textWithRef\",\"type\":\"text\",\"dataType\":\"string\",\"limit\":0},\"columnOperators\":[\"contains\",\"not_contains\",\"is\",\"is_not\"]}]}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":157,"name":"attribute-feature","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"group\",\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"mang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"IS_NOT\",\"dataType\":\"string\",\"columnValue\":\"first-event-audience\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"umang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"status\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"PAID\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"email\",\"columnValue\":\"[email protected]\"},\"filterName\":\"profile\"}]},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"email\",\"columnValue\":\"[email protected]\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":158,"name":"Test-abc-asfds","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"ttest\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"},{\"type\":\"group\",\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"CONTAINS\",\"columnName\":\"lastName\",\"columnValue\":\"test\"},\"filterName\":\"profile\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"tickettypename\",\"columnValue\":\"pro ticket\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"first-event-audience\"}]},\"filterName\":\"register\"}]},{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"mang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"first-event-audience\"},{\"columnName\":\"status\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"CREATE\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":159,"name":"test-abc-1234","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"test\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":160,"name":"ghjjjhkj","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"tests\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":161,"name":"new-segment","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"u\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":162,"name":"tst-abc","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"group\",\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"mang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventName\",\"isInstance\":false,\"operator\":\"IS_NOT\",\"dataType\":\"string\",\"columnValue\":\"second-audience-org\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"umang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"status\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"string\",\"columnValue\":\"PAID\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"}]},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"title\",\"columnValue\":\"title\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":163,"name":"flkdsjfdslk","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"fdsfs\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":167,"name":"umang-reg","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"number\",\"operator\":\"IS_NOT\",\"columnName\":\"discountCodeId\",\"columnValue\":\"647\",\"mappedValue\":\"DEF (second-audience-org )\",\"mappingKey\":\"discountCode\",\"mappingDataType\":\"string\"},\"filterName\":\"register\"}]}","totalAudience":2,"source":"ORGANIZER","sourceId":1032},{"id":169,"name":"large-complex-query","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"group\",\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"number\",\"operator\":\"IS\",\"columnName\":\"tickettypeid\",\"columnValue\":\"8742\",\"mappedValue\":\"pro ticket (first-event-audience )\",\"mappingKey\":\"tickettypename\",\"mappingDataType\":\"string\",\"attribute\":[{\"columnName\":\"eventid\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"number\",\"columnValue\":\"5312\",\"mappedValue\":\"second-audience-org\",\"mappingKey\":\"eventName\",\"mappingDataType\":\"string\"}]},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"lastName\",\"columnValue\":\"1\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventid\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"number\",\"columnValue\":\"5312\",\"mappedValue\":\"second-audience-org\",\"mappingKey\":\"eventName\",\"mappingDataType\":\"string\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"group\",\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"CONTAINS\",\"columnName\":\"title\",\"columnValue\":\"title\"},\"filterName\":\"profile\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"email\",\"columnValue\":\"[email protected]\"},\"filterName\":\"profile\"}]}]},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"CONTAINS\",\"columnName\":\"lastName\",\"columnValue\":\"1\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":170,"name":"tst-new-dest","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"umang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventid\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"number\",\"columnValue\":\"5312\",\"mappedValue\":\"second-audience-org\",\"mappingKey\":\"eventName\",\"mappingDataType\":\"string\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"status\",\"columnValue\":\"PAID\"},\"filterName\":\"register\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":172,"name":"title-18","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"group\",\"conditionalOperator\":\"all\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":true,\"columnName\":\"firstName\",\"columnValue\":\"mang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\",\"attribute\":[{\"columnName\":\"eventid\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"number\",\"columnValue\":\"5309\",\"mappedValue\":\"first-event-audience\",\"mappingKey\":\"eventName\",\"mappingDataType\":\"string\"}],\"instanceName\":\"purchaser\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"number\",\"operator\":\"IS\",\"columnName\":\"tickettypeid\",\"attribute\":[{\"columnName\":\"eventid\",\"isInstance\":false,\"operator\":\"IS\",\"dataType\":\"number\",\"columnValue\":\"5309\",\"mappedValue\":\"first-event-audience\",\"mappingKey\":\"eventName\",\"mappingDataType\":\"string\"}],\"mappingKey\":\"tickettypename\",\"mappingDataType\":\"string\",\"mappedValue\":\"pro ticket (first-event-audience )\"},\"filterName\":\"register\"}]},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"string\",\"operator\":\"IS\",\"columnName\":\"title\",\"columnValue\":\"tittle-18\",\"mappedValue\":\"tittle-18\"},\"filterName\":\"profile\"}]}","totalAudience":0,"source":"ORGANIZER","sourceId":1032},{"id":175,"name":"discount-second","eventId":null,"userId":7559,"filterJson":"{\"date\":{\"startDate\":\"\",\"endDate\":\"\",\"format\":\"MM-DD-YYYY\"},\"conditionalOperator\":\"any\",\"conditions\":[{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"dataType\":\"number\",\"operator\":\"IS_NOT\",\"columnName\":\"discountCodeId\",\"columnValue\":\"647\",\"mappedValue\":\"DEF (second-audience-org )\",\"mappingKey\":\"discountCode\",\"mappingDataType\":\"string\"},\"filterName\":\"register\"},{\"type\":\"single\",\"condition\":{\"isInstance\":false,\"columnName\":\"firstName\",\"columnValue\":\"umang\",\"operator\":\"CONTAINS\",\"dataType\":\"string\"},\"filterName\":\"profile\"}]}","totalAudience":2,"source":"ORGANIZER","sourceId":1032}]
Updated almost 3 years ago