For an dashboard we are creating we are querying the FindAppointment archive provider using odata, we want to filter out any child appointments and only get the mother appointments. We though we could do this with the booking field but that is true for both the mother and the child.
How can we determine what appointment is a child booking?
https://xxx/api/v1/Archive/SimpleAppointment?$filter=(appointmentId eq 964257 or appointmentId eq 964254)&$select=appointmentId,booking,visibleInDiary,rawType
As you can see 964254 is the mother here, and 964257 the child, but both have booking 'true':