CQL Examples
Introduction
Field Filtering
AND, OR and NOT
Special fields
Filters Reference
additionalinfo: Search the contents of additionalInfo (string)
agriculture: Related to Agriculture (related)
applicant: Related to Persons (related)
asset: The related asset code or id (id)
assetid: Search the contents of assetId (string)
assigned: Assigned to participant (assignment)
assignee: Assigned via Case Officer (assignment)
atsiorigin: Search the contents of ATSIOrigin (enum)
attachment: Has attachment (media)
casedocuments: An attachment (media)
damageinfo: Search the contents of damageInfo (string)
dateclosed: The first transition date and time to Closed (timestamp)
dateclosedduplicate: The first transition date and time to Closed (Duplicate) (timestamp)
dateclosederror: The first transition date and time to Closed (Error) (timestamp)
datecreated: The date and time the record was initially created (timestamp)
datedraft: The first transition date and time to Draft (timestamp)
dateinspectionrequired: The first transition date and time to Inspection Required (timestamp)
datenew: The first transition date and time to New (timestamp)
datenoactionrequired: The first transition date and time to No Action Required (timestamp)
dateopen: The first transition date and time to Open (timestamp)
datereopen: The first transition date and time to Reopen (timestamp)
dateresolved: The first transition date and time to Resolved (timestamp)
datereview: The first transition date and time to Review (timestamp)
datetemplate: The first transition date and time to Template (timestamp)
dateupdated: The date and time the record was last updated (timestamp)
details: Search the contents of details (string)
eventid: Search the contents of eventId (string)
externalid: An imported record's original record ID (number)
externalsource: An imported record's source (string)
fieldofficer: Assigned via Field Officer (assignment)
fixedhomeaddress: Search the contents of fixedHomeAddress (enum)
geo: Filter records within a search area (geo)
id: The ID of the record (number)
importdata: Search the contents of importData (string)
insurance: Search the contents of insurance (string)
intersects: Filter records within a search area (geo)
is: Convenient shortcuts (enum)
isapplicantknown: Search the contents of isApplicantKnown (enum)
iselasticsearchindexingenabledforasset: A search area (boolean)
issearcharea: A search area (boolean)
istemplate: Search for only templates (boolean)
itemschemaname: The schema name (enum)
livestock: Related to Livestock (related)
name: Search the contents of name (string)
othertype: Search the contents of otherType (string)
photos: An attachment (media)
priority: Priority (enum)
privateassets: Related to Private Assets (related)
propertydamage: Search the contents of propertyDamage (enum)
propertyinsured: Search the contents of propertyInsured (enum)
propertyuseaccommodation: Search the contents of propertyUseAccommodation (boolean)
propertyusecommercial: Search the contents of propertyUseCommercial (boolean)
propertyusecommunity: Search the contents of propertyUseCommunity (boolean)
propertyusefarm: Search the contents of propertyUseFarm (boolean)
propertyusegovernment: Search the contents of propertyUseGovernment (boolean)
propertyuseinfrastructure: Search the contents of propertyUseInfrastructure (boolean)
propertyuseother: Search the contents of propertyUseOther (boolean)
propertyuseresidential: Search the contents of propertyUseResidential (boolean)
propertyuseresidentialprimary: Search the contents of propertyUseResidentialPrimary (boolean)
propertyuseresidentialsecondary: Search the contents of propertyUseResidentialSecondary (boolean)
propertyuseresidentialunclassified: Search the contents of propertyUseResidentialUnclassified (boolean)
propertyusevacant: Search the contents of propertyUseVacant (boolean)
recoveryenvironmentalhealth: Related to Environmental Health (related)
referraldate: Date field (date)
referralsource: Filter by lookup value (enum)
region: The region code (enum)
regionid: The region code (enum)
relatedassessmentswithsameasset: Related to Assessments (related)
relatedcontacts: Related to Persons (related)
relatedreliefregistrations: Related to Relief Registration (related)
relationshiptoproperty: Filter by lookup value (enum)
schema: The schema name (enum)
sharinglevel: Search the contents of sharingLevel (enum)
status: The status code or value (enum)
systemclassification: Filter by lookup value (multiselect)
tags: Tags that have been attached to the record (tags)
tasks: Related to Needs & Tasks (related)
templatename: Search for a template by its name (string)
userid: The userId of the user that initially created the record (user)
uuid: The UUID of the record (string)
within: Filter records within a search area (geo)
Last updated
Was this helpful?
