AnsweredAssumed Answered

Dynamic Object Property in JSON

Question asked by jhart@freeportlng.com on Jun 11, 2018

We integrate Boomi with our C# code library using the Web Services Server.  We have a standard response object defined for service calls - it's basically just a wrapper for any kind of response value.  

 

In C#, the Response.Value property is a generic, which means it can be of any type.  I need to supply a JSON response to the application layer, WITHOUT needing to create dozens of response profiles which only vary by the Value property.

 

Basically, I want to have one profile, with a property that can have any JSON object as its value.

 

Is that possible?

Outcomes