Hi guys
I have created a meeting, now I want to add participant in the created meeting, how I can achieve it . I have zoom pro account. I have created meeting using this endpoint users/me/meetings after that I got meeting id then I have used this endpoint to add registrant meetings/meetingId/registrants and in body I have passed this
public static void createData(Long meetingId) {
WrapperRequest request = new WrapperRequest();
request.email = ‘test@example.com’;
request.first_name = ‘test’;
request.last_name = ‘tesing’;
request.address = ‘123 Main Street’;
request.city = ‘Sample City’;
request.state = ‘Sample State’;
request.zip = ‘12345’;
request.country = ‘Sample Country’;
request.phone = ‘1234567890’;
request.comments = ‘This is a sample comment.’;
request.custom_questions = new List<CustomQuestion>{
new CustomQuestion('What is your favorite color?', 'Blue'),
new CustomQuestion('What is your preferred contact time?', 'Morning')
};
request.industry = 'Technology';
request.job_title = 'Software Engineer';
request.no_of_employees = '50-100';
request.org = 'Sample Organization';
request.purchasing_time_frame = 'No timeframe';
request.role_in_purchase_process = 'Evaluator/Recommender';
request.language = 'Tr-TR';
request.auto_approve = false;
String jsonBody = JSON.serialize(request);
System.debug('Serialized JSON: ' + jsonBody);
}
please suggest me solution and setting what I have to do next