Get customers by search criteria
GET/calendar-backend/api/v1/customers
Get customers by search criteria.
Get Customer objects matching the supplied search criteria. Limit and Offset parameters are ignored, use the /search endpoint instead. Currently, only search by firstName, lastName, externalId/cardNumber of dateOfBirth is implemented.
-
- Search by field: /search?lastName=Simpson
-
- Search by related object: Not applicable to Customer since the Customer object has no direct relationships with any - To match on 'date of birth' the complete date should be provided using the format YYYY-MM-DD or YYYYMMDD other entities.
Example:
curl -u username:password -X GET
http://localhost:8080/calendar-backend/api/v1/customers?firstName=Anders
Responses
- 200
A Json list of com.qmatic.qp.calendar.rest.dto.CustomerDTO