RPL API Injection - Datamodel interpretation
Hi,
I'm currently trying to inject a payload with the following structure into Responsys via API:
{
"mergeTriggerRecordData": {
"mergeTriggerRecords": [
{
"fieldValues": [
"jpolanco@komax.cl"
],
"optionalData": [
{
"name": "ORDER_ID",
"value": "550199999998"
},
{
"name": "customerFirstName",
"value": "Jose"
},
{
"name": "ORDER_DETAIL",
"value": [
{
"sku": "ble",
"price": "$29000",
"description": "polera"
},
{
"sku": "ble2",
"price": "$9000",
"description": "calcetines"
},
{
"sku": "ble3",
"price": "$39000",
"description": "poleron"
}
]
}
]
}
],
"fieldNames": [
"EMAIL_ADDRESS_"
]
},
"mergeRule": {
"htmlValue": "H",
"matchColumnName1": "EMAIL_ADDRESS_",
"matchColumnName2": null,
"optoutValue": "O",
"insertOnNoMatch": true,
"defaultPermissionStatus": "OPTIN",
"rejectRecordIfChannelEmpty": "E",
"optinValue": "I",
"updateOnMatch": "REPLACE_ALL",
"textValue": "T",
"matchOperator": "NONE"
}
}
Im prepping responsys to receive data as follows:
Hola ${DynamicVariable.customerFirstName}
<br>Probando arreglo dificil
<p>Este es el arreglo:
</p>
<br>API_1: ${DynamicVariable.ORDER_ID}