Developer forum

Forum » Integration » Web connector request directly from code

Web connector request directly from code

Johan Ulff
Reply

Hi, can we do Dynamicweb connector request directly from code? We want to make a price request like below and skip the live integration price request.

The connector request is normally encrypted with a key, how do we do this from code?


<GetEcomData ExternalUserId="C00046" AccessUserCustomerNumber="C00018">
<tables>

<Products type="filter">

<Product>

<ProductId>2130936</ProductId>

<ProductVariantId />

<ProductNumber>2130936</ProductNumber>

<ProductIdentifier></ProductIdentifier>

<CurrencyCode>SEK</CurrencyCode>

<Quantity>1</Quantity>

</Product>

</Products>

</tables>

</GetEcomData>


Replies

 
Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Johan,

yes, you can, the question is already answered here.
So you need to look on ErpServiceCaller.GetDataFromRequestString method, it is in the 
Dynamicweb.DataIntegration package.

BR, Dmitrij

 

You must be logged in to post in the forum