Question

1
Replies
22
Views
James Courtney-Thomas (JamesCT.)
Lloyds Banking Group

Lloyds Banking Group
GB
JamesCT. Member since 2012 4 posts
Lloyds Banking Group
Posted: May 11, 2021
Last activity: May 14, 2021
Posted: 11 May 2021 11:22 EDT
Last activity: 14 May 2021 20:49 EDT

Connect Rest Custom Header in JSON Format

I have a requirement to call a Rest API that requires custom headers to be passed in a json format, I'm using version 7.2. Can anyone suggest how this can be achieved. Header will be in a format similar to that below 

{

   "knownIde": [

    {

      "type": "custID",

      "id": "342342342",

      "actor": "customer"

    },

    {

      "type": "web",

      "id": "43436",

      "actor": "customer"

    },

    {

      "type": "Employee",

      "id": "03545644846",

      "actor": "Employee"

    }

  ]

 

Pega Platform Data Integration Java and Activities Financial Services Lead System Architect