Hi all,
i have this api request for my action
const options = {
url: 'my-ap-urli',
method: 'POST',
headers: {
'Accept': 'application/json',
'Cookie': `JSESSIONID=${bundle.authData.sessionKey}`
},
params: {
},
body:{
"items": [{
"properties": {
"Contact.name": bundle.inputData.contactName,
"Contact.surname": bundle.inputData.contactLastName,
"Contact.email": bundle.inputData.contactEmail
}
}]
}
}
what I need is to add the dynamic fields that are present in the bundle input data.
How can I add the input data in my properties formatted in this way?
"Contact.key": value
Thanks