I am working on a usecase to fetch those customers that have a completed appointment. Here is the sequence of APIs that I plan to use:
- Call https://developer.infusionsoft.com/docs/rest/#!/Appointment/listUsingGET API and fetch all appointments.
- From these appointments, I want to find only those who are completed successfully and not cancelled or no-show.
- Call https://developer.infusionsoft.com/docs/rest/#!/Contact/loadUsingGET API to retrieve the contact using contact id from the appointment.
Can you please let me know how could I accomplish step 2?