I have a form which contains various fields like normal text inputs, dropdowns, etc.
I am trying to create a object using all the variables so that it can be passed as a payload for my REST API POST method.
Something like this: (Object variable's expression)
{
"field1" : variable1,
"field2" : {data: variable2},
"field3" : [variable3]
}
Is this possible in OutSystems or how to achieve this task ?
Edit 1:
I tried creating a entity with the payload structure, but the attributes don't support list text data type.
Hi Gowrisankar,
Yes it is possible in outsystems by creating the structures.you can found structures in data tab
Please let me know if you need any more guidance,
Hope it helps,
Thanks
Thank you !!
Hi @Gowrisankar JG ,
If my suggestion solved your problem please mark it as a solution so it will easy for our fellow community members to search for same solution.
Thanks.