Skip to main content

Search for appointment profiles

GET 

/calendar-backend/api/v1/appointmentprofiles/search

Search for appointment profiles.

Search for Appointment Profile objects matching the supplied search criteria.

    • Search by field: /search?name=AP1
    • Search by related object: /search?branch=4&capacity=3. This of course only applies to objects having a direct relationship with a Branch. For example, an Appointment have direct relationships with Capacity, ResourceGroup, Branch.
    • Pagination: ?limit=10&offset=1 (return items 10-19)

Examples;

curl -u username:password -X GET
http://localhost:8080/calendar-backend/api/v1/appointmentprofiles/search?name=AP1
curl -u username:password -X GET
http://localhost:8080/calendar-backend/api/v1/appointmentprofiles/search?resourceGroup=1&branch=1

Responses​

A Json list of com.qmatic.qp.calendar.model.AppointmentProfile