| 1 | /console/{tenantId}/queries/new | Design a contact question with a date supplied when it runs. | CAP-PFM-QRY-002 | Executing the question returns contacts that meet its date condition. | inferred |
| 2 | /console/{tenantId}/queries/{id} | Keep the question under a recognizable name. | CAP-PFM-QRY-006 | Its saved definition retains the requested date value and starts private. | inferred |
| 3 | startQueryExport | Request a CSV with technical field names. | CAP-PFM-QRY-014 | The headings follow the selected output fields in their declared order. | test |
| 4 | /console/{tenantId}/queries/schedules/new | Create a daily morning schedule with the execution day as the date value and skipping enabled for empty results. | CAP-PFM-QRY-015 | The schedule retains the selected time zone, CSV options and recipient. | test |
| 5 | /console/{tenantId}/queries/schedules/{id} | Request an immediate run while the question matches no contacts. | CAP-PFM-QRY-015 | The history records an empty-result skip and contains no delivery. | test |
| 6 | /console/{tenantId}/queries/schedules/{id} | Add a matching contact, run again and open the delivered link. | CAP-PFM-QRY-015 | A single message provides a CSV containing the new contact. | test |
| 7 | /console/{tenantId}/queries | Attempt to remove the question while its schedule exists. | CAP-PFM-QRY-006 | The refusal identifies the schedule that depends on the question. | test |