Hello,
I'm trying to create an action for an api for my custom connector and when I import from sample for the request or response, it was unable to process all the properties as some was missing.
The ones that are missing have a structure of 'array of objects of array of objects'
I have pasted the problematic json below
"ConsentFields": [
{
"Fields": [
{
"Key": "TEXT",
"Value": "Your consent text goes here."
},
{
"Key": "DATETIMECONSENTED",
"Value": "2020-01-01T09:40:18.527Z"
},
{
"Key": "URL",
"Value": "http://www.example.com/signup"
},
{
"Key": "IPADDRESS",
"Value": "127.0.0.1"
},
{
"Key": "USERAGENT",
"Value": "Mozilla/5.0 (X11; OpenBSD i386) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
}
]
},
{
"Fields": [
{
"Key": "TEXT",
"Value": "Your consent text goes here."
},
{
"Key": "DATETIMECONSENTED",
"Value": "2020-01-01T09:40:18.527Z"
},
{
"Key": "URL",
"Value": "http://www.example.com/signup"
},
{
"Key": "IPADDRESS",
"Value": "127.0.0.1"
},
{
"Key": "USERAGENT",
"Value": "Mozilla/5.0 (X11; OpenBSD i386) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36"
}
]
}
]
How can I import this json correctly to the request and response section?
Thanks.