DataContract Name attribute with varying XML field
I’m calling a generic endpoint /api/foo
which returns an XML describing foo
. You can pass whatever entity name as foo
and it will return its data.
I’m calling a generic endpoint /api/foo
which returns an XML describing foo
. You can pass whatever entity name as foo
and it will return its data.