I have a json string which contains 'participationtypemask' for a phonecall.
To deserialize this json in to c# object, what should be the data type of participation type mask in c#?
I tried int and optionset but none of them worked.
Thank you Rogger and Emre for your response. I figured it out.
int is the correct datatype. The issue with my code was that the property name in my class was incorrect. I changed it from 'participationmasktype' to 'participationtypemask' and now it is working.
Hi,
Can you post your JSON here please?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156