Created
May 16, 2019 21:46
-
-
Save sontek/76cd78da3808f188fc9550f8bdd84ba7 to your computer and use it in GitHub Desktop.
Example expressions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "fields": [ | |
| { | |
| "expression": { | |
| "attribute_name": "confirmation_number", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Confirmation #" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "first_name", | |
| "element_id": "ATTENDEE_NAME", | |
| "object_type": "response" | |
| }, | |
| "header": "First" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "last_name", | |
| "element_id": "ATTENDEE_NAME", | |
| "object_type": "response" | |
| }, | |
| "header": "Last" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "email_address", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Email Address" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "status", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Status" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "financial_status", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Financials" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "is_guest", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Is Guest" | |
| }, | |
| { | |
| "expression": { | |
| "attribute_name": "is_checked_in", | |
| "object_type": "attendee" | |
| }, | |
| "header": "Checked In" | |
| } | |
| ], | |
| "filter": { | |
| "op": "and", | |
| "operands": [ | |
| { | |
| "left": { | |
| "attribute_name": "is_deleted", | |
| "object_type": "attendee" | |
| }, | |
| "op": "equals", | |
| "right": false | |
| }, | |
| { | |
| "left": { | |
| "attribute_name": "status", | |
| "object_type": "attendee" | |
| }, | |
| "op": "in", | |
| "right": [ | |
| "confirmed", | |
| "pending" | |
| ] | |
| } | |
| ] | |
| }, | |
| "object_types": "attendee" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment