Hi All
I built Data action to retrieve some fields from Salesforce, I get back all values in JSON but not in Template. Here is Input and output contract.
Looking for help for translation Map/Defaults and success template to pull out specific fields as below by sending Phone Number from Array/objects. Any help will be appreciated, Thanks
Input Contract:
{
"title": "Phone Number Request",
"type": "object",
"required": [
"PHONE_NUMBER"
],
"properties": {
"PHONE_NUMBER": {
"type": "string"
}
},
"additionalProperties": true
}
Output Contract:
{
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"body": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"priority": {
"type": "string"
},
"account": {
"type": "object",
"properties": {
"Id": {
"type": "string"
},
"Account_Name": {
"type": "string"
},
"Birthdate": {
"type": "string"
}