How do I get a Case by name, date of birth, etc?
There are several new filtering options available for Cases, Assistance records, and more! To see all the new query parameters available via the API, refer to the latest Swagger documentation.
You can submit a GET request with first_name or last_name as a query parameter. For example, /api/v1/cases?first_name=barbara would pull all Cases with a first name of “Barbara”.
But what if you wanted to get all the Cases where the name may be “Barbara” or “Barb”? You can do so with a * (asterisk) wildcard! /api/v1/cases?first_name=bar* would pull both “Barbara” or “Barb”.
You can also pair multiple fields together for more focused searches. For example, /api/v1/cases?first_name=bar*&last_name=smith would pull only Cases where the last name is “Smith” and the first name meets our wildcard of “Bar*”
