Discussions
Contact response - anonymous property data type
2 days ago by Warren Hales
Hi,
Hopefully a quick question, on the Contact response object (from Fetch Contact etc).
The API Reference says the "anonymous" property is string | null but I am getting a 0 (numeric) back.
This is causing an issue with deserializing.
Is that property actually: int | null (returning 0 or 1 or null)? Or does it sometimes return "true" or "false" string values or other numeric values?
I will write a custom deserializer for that property so I want to make sure I catch all the possibilities.
Thanks!