1-1 relationship in corticon

Posted by pelt on 03-Dec-2018 14:53

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

Posted by Rashmi Gupta on 03-Dec-2018 16:54

Please refer to KB article 000087928 to see if it resolves your issue.

knowledgebase.progress.com/.../Corticon-JSON-Output-does-not-support-1-1-associations-as-Object

Regards,

Rashmi

This thread is closed