I am trying to get the booking Questions using Profiles API and Answers using Bookings API.
What I get instead are matching numbers of blank records, instead of actual data of the questions and answers.
Any ideas? thanks in advance.
I am trying to get the booking Questions using Profiles API and Answers using Bookings API.
What I get instead are matching numbers of blank records, instead of actual data of the questions and answers.
Any ideas? thanks in advance.
@Chillresidence welcome to the Forum. From the bookings end point you can get the answers to the questions, with ?fields=answers,answers.code,answers.string this should give you a list of all answers from the bookings. Feel free to include additional fields like id, startsAt etc. For profiles you will use, ?fields=questions,questions.before,questions.code,questions.after,questions.required,questions.type.
For bookings we paginate them and in the returned header there will be a link to move forward or backward in time based off of start date/time.
wow many thanks! it works!