ITsolutionWizard
asked on
json c# mvc
I have a small project with Zoom API. and I am able to create json format and consume API (2nd one below)
but now I do not know how to
dynamic obj = new
{
action = "cancel"
};
string jsonString = JsonConvert.SerializeObjec t(obj, Formatting.Indented);
how to add: id and email into obj above? according to this API: https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantstatus
Below is another API I call to Zoom and it is working. It is just an example I want to show you
but now I do not know how to
dynamic obj = new
{
action = "cancel"
};
string jsonString = JsonConvert.SerializeObjec
how to add: id and email into obj above? according to this API: https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantstatus
Below is another API I call to Zoom and it is working. It is just an example I want to show you
This one is working
https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate
dynamic obj = new
{
email = email,
first_name = first_name,
last_name = last_name,
phone = phone
};
string jsonString = JsonConvert.SerializeObject(obj, Formatting.Indented);
//return format sample = "{\"email\":\"helladsfoworldasdfdd63d86@gmail.com\",\"first_name\":\"Jill\",\"last_name\":\"Chill\",\"phone\":\"(310)597-1111\"}";
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.