You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RPL API Injection - Datamodel interpretation

Received Response
11
Views
1
Comments

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}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!