1-1 relationship in corticon - Forum - Corticon - Progress Community

1-1 relationship in corticon

 Forum

1-1 relationship in corticon

This question is not answered

Hi,

I have an object with a 1-1 relationship in my request. However when i generate a sample json it shows my object as being an array.

For example

"Request": {
"Person": [{
"Name": null,
"DateOfBirth": null,

...etc

When i send a single person (no array) to corticon it seems to work fine. However it would be nice if my sample json matched with what's actually expected. Is there a way to fix this?

Thanks in advance for your help.

All Replies