Get Master JSON

This API is Used to retrieve master JSON for creating or updating an audience filter.
We need to pass an authorisation token here, which is generated after successful login into account with the other details.

Master JSON is used to build a filter based on conditions and retrieve attendees which are qualified conditions.
in master JSON there are three keys profile, register and Engagement which contain objects.

Here is a list of keys and possible values.

Field NamePossible ValuesDescription
LabelAny Textthis is used for display text at Front-end side.
columnsListList of columns which are available in particular filter type.
nameAny Textname is mapped with table column name. so we can filter that column value with given text.
apibooleanif it's true then call reference API to suggest possible values.
operatortext, numeric, textWithRef, enumit is used to map logical operator.
datatypeString, numberdatatype of a specific column name.
limitnumeric valueif API is true then we can specify limit for retrieve reference data.
fieldTypescaler, instancescalar means it's contain single value. instance means it's contain JSON object in a field(column)

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error codeError Description
400The 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"
}
404The resource you were trying to reach is not found.
Language
Authorization
Header
Click Try It! to start a request and see the response here!