Hi All,
I am getting null when I get response using below Input, Output contract and Translation map with Success template. But when I use raw result i am getting back data but not in fields template. Please let me know anything I need to change below:
Input Contract
{
"title": "Request",
"type": "object",
"properties": {
"AccountID": {
"type": "string"
}
},
"additionalProperties": true
}
output Contract
{
"title": "Response",
"type": "object",
"properties": {
"AccountBalance": {
"type": "array",
"items": {
"title": "CurrentBalance",
"type": "string"
}
},
"Invoice": {
"type": "array",
"items": {
"title": "DueDate",
"type": "string"
}
},
"Premise": {
"type": "array",
"items": {
"title": "PremiseID",
"type": "string"
}
}
},
"additionalProperties": true
}
Response Configuration
{
"translationMap": {
"AccountBalance": "[$.CurrentBalance]",
"Invoices": "[$.DueDate]",
"Premise": "[$.PremiseID]"
},
"translationMapDefaults": {
"AccountBalance":"[]",
"Invoices":"[]",
"Premise":"[]"
},
"successTemplate": "{\n "AccountBalance" : ${AccountBalance}\n, "Invoices" : ${Invoices}\n, "Premise" : ${Premise}\n }"
}
Thanks for help !!