How to dynamically set the Authenticate key in the http header of rest Message

Riya25
Giga Contributor

Hello all,

We are implementing an integration using REST Api ,and in that we are having the same end point but different Authentication Keys for different region,so how can we set them dynamically so that it load all the data from 2 regions.

Currently in one method we are generating organization there i have tried to use both the value but its giving me the organization whose key i have mentioned in the Parent Rest Message.

 

find_real_file.png

SO how can i achieve this ?

@Ankur Bawiskar can you please help here?

Help from anyone would be appreciated.

 

Regards,

Riya

10 REPLIES 10

Hello Akshata,

 

But if there are many organizations then we will have to create multiple methods.

And also I have another HTTP Method which uses ID returned by this method.

As there are multiple ID returned by different Organization where to set them dynamically.

I have used Variable Substitution but its not working and returning data of only one organization.

 

Regards,

Riya