Developer forum

Forum » Dynamicweb 10 » Custom integration using endpoints

Custom integration using endpoints

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
I am trying to build a replica of the CustomerIntegrationCenter using a predefined Endpoint.
My plan is to define a generic endpoint in the Endpoint list and then, in code (or template), adjust the Parameters and Body according to my needs.
I have tried creating a copy of the Endpoint instance before passing the Parameters, but this approach does not seem to handle the Authentication part.
If I am trying to use the existing Endpoint and pass Parameters, it seems that the parameters are saved on the Endpoint.
Is there a recommended approach for my scenario?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Nevermind.
I have noticed that QueryParams is read-only and I cannot adjust it at runtime.
Unless there is a smarter choice, for now, I will use Clone() and adjust the URL directly.
Thank you,
Adrian

 

You must be logged in to post in the forum