How to build metadata configuration for REST API connector with an array of object

  • 91Views
  • Last Post 23 December 2022
Girish C posted this 22 December 2022


I am able to create REST API connections with the metadata for simple scenarios where there is no array of objects in the JSON body of the POST request. 

But in cases where a key has an array of object as input then I am not able to find any documentation on how to implement it. 

PFA a post request body which we want to build while making an API call (target - Rest API connector).

Please help in building the metadata for this Rest connection.



    "data": [{

            "lead_type": "BUC",

            "lead_tags": "usedcar",

            "lead_flag": "uc_testdrive",

            "customer_name": "John Wick",

            "customer_mobile": "9845098450",


            "target": [{

                    "target_name": "Star Auto Dealer",

                    "target_source": "CNB",

                    "target_id": "188",

                    "followup_date": "2022-12-25 09:00:00",

                    "status": "Test Drive",

                    "followup_comments": "Test drive scheduled. Customer ready to reserve car"







Pasting here since I could not attach text file.


Yevheniia Bilotserkovska posted this 23 December 2022

Hello Girish.

Thank you for contacting us.

We will send you a metadata example via email. Please check your mailbox.


Best regards,

Yevheniia Bilotserkovska.